Net-FTPSSL - using the list() command

Posted on Wed Feb 20 22:45:19 2008 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)
Write a response