nkpgmartin has asked for the wisdom of the Perl Monks concerning the following question:
Also, how do I put all the output of the ftp session into a log file?use Net::FTP; while (<>) { $ftp = Net::FTP->new("HOST", Debug => 0); $ftp->login("login",'passwd'); $ftp->put(*STDIN, $@); # here's the problem... } $ftp->quit;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: net::ftp multiple files
by RhetTbull (Curate) on May 10, 2001 at 01:09 UTC | |
|
Check the home directory on the remote machine
by grinder (Bishop) on May 10, 2001 at 00:15 UTC | |
by nkpgmartin (Sexton) on May 10, 2001 at 00:26 UTC | |
|
Re: net::ftp multiple files
by asiufy (Monk) on May 09, 2001 at 23:52 UTC | |
by nkpgmartin (Sexton) on May 10, 2001 at 00:03 UTC | |
|
Re: net::ftp multiple files
by no_slogan (Deacon) on May 09, 2001 at 23:54 UTC | |
|
Re: net::ftp multiple files
by spaz (Pilgrim) on May 10, 2001 at 03:36 UTC |