nsyed has asked for the wisdom of the Perl Monks concerning the following question:
use Net::FTP::Common; $FTP_connect = { Host => "some.ftpserver.com", User => "someuser", Pass => "somepassword", RemoteDir => "/home/somedir/dest" } ; $ftp = Net::FTP::Common->new($FTP_connect); my @dircontents = $ftp->ls ; foreach(@dircontents) { print"$_\n"; } $ftp->quit;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: FTP Remote Dir listing
by Limbic~Region (Chancellor) on Oct 21, 2003 at 21:43 UTC | |
|
Re: FTP Remote Dir listing
by princepawn (Parson) on Oct 21, 2003 at 23:04 UTC |