CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: why ?my CGI code can't use FTP module!: Edit Log



tack
Novice

Jul 30, 2003, 8:37 PM


Views: 10570
why ?my CGI code can't use FTP module!

following is my code :


Code

  

#!/usr/bin/perl

use Net::FTP;
my $file="E:\\server\\Apache\\htdocs\\111\\time.txt";
$ftp=Net::FTP->new("tack.smice.net",timeout=>30);
$ftp->login($user,"$password);
$ftp->put($file,"tt.txt");

print "content-type:text/html\n\n";




it can runs on dos , but not on IE browser .is it wrong ? help!




(This post was edited by tack on Jul 30, 2003, 8:39 PM)


Edit Log:
Post edited by tack (Novice) on Jul 30, 2003, 8:39 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives