Posted on 2008-02-20 20:45:19-08 by keith
using the list() command
I have written a quick perl module to login and list the top directory. It logins in ok. Using the Net::FTPSSL example for list with no argument to get the top directory. I put a print after the list() to print 'list ok...' and get... >>> PBSZ 0 <<< 200 PBSZ Command OK. Protection buffer size set to 0. >>> PROT P <<< 200 PROT Command OK. Using Private data connection >>> PASV <<< 227 Entering Passive Mode (12,180,191,161,4,0). >>> LIST <<< 150 Opening ASCII mode data connection for file list. <<< 226 Transfer complete. 874 bytes transferred. 874 Bps. list ok... >>> QUIT <<< 221-Your APS Secure FTP Session Has Ended. <<< 221 Good Bye... ------------------------- I don't see the output from the list()? There are 9 sub-directories but I don't see them? (it does the same if I try to list the sub-directories)
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.