in reply to Re: "canned" FTP
in thread "canned" FTP

until i find a way to reinvent the proverbal wheel without it looking like an triangle... i resorted to the "easy" way; Net::FTP. besides the fact i was able to accompish in a few seconds what took me 2 weeks before (uh hum....lol), i'm running into the same "LIST" problem. i hook, login, cwd, then issue the LIST, get; "Opening ASCII mode data connection (300 bytes)" attempt to load an array with the "list" and then get "Transfer complete, 0 bytes in 0.00sec" which in turn, i have no data in my array.....help?
$FTPdHandle = Net::FTP->new($FTPdServer, Debug=>1); $FTPdHandle->login("my account","mypassword"); $FTPdHandle->cwd("/mydirectory"); @FTPdDir = $FTPdHandle->list(); print STDOUT @FTPdDir; $FTPdHandle->quit;