I use perl Net::FTP to update some data daily. I scan some directories and test if the files are new or not, and download them if yes.
I have a problem in the listing of some directories because there are too many files in, here is the debug output of my program :
Net::FTP: Net::FTP(2.65)
Net::FTP: Exporter(5.567)
Net::FTP: Net::Cmd(2.21)
Net::FTP: IO::Socket::INET(1.26)
Net::FTP: IO::Socket(1.27)
Net::FTP: IO::Handle(1.21)
Net::FTP=GLOB(0x82e87ac)<<< 220 ######.cls.fr FTP server ready.
Net::FTP=GLOB(0x82e87ac)>>> user ####
Net::FTP=GLOB(0x82e87ac)<<< 331 Password required for aviso.
Net::FTP=GLOB(0x82e87ac)>>> PASS ....
Net::FTP=GLOB(0x82e87ac)<<< 230 User #### logged in.
Net::FTP=GLOB(0x82e87ac)>>> CWD ##################
Net::FTP=GLOB(0x82e87ac)<<< 250 CWD command successful.
Net::FTP=GLOB(0x82e87ac)>>> PASV
Net::FTP=GLOB(0x82e87ac)<<< 227 Entering Passive Mode (62,161,32,1,24,201)
Net::FTP=GLOB(0x82e87ac)>>> NLST
Net::FTP=GLOB(0x82e87ac)<<< 550 Arguments too long
Net::FTP=GLOB(0x82e87ac)>>> QUIT
Any help would be greatly appreciated.
Tony
I have a problem in the listing of some directories because there are too many files in, here is the debug output of my program :
Net::FTP: Net::FTP(2.65)
Net::FTP: Exporter(5.567)
Net::FTP: Net::Cmd(2.21)
Net::FTP: IO::Socket::INET(1.26)
Net::FTP: IO::Socket(1.27)
Net::FTP: IO::Handle(1.21)
Net::FTP=GLOB(0x82e87ac)<<< 220 ######.cls.fr FTP server ready.
Net::FTP=GLOB(0x82e87ac)>>> user ####
Net::FTP=GLOB(0x82e87ac)<<< 331 Password required for aviso.
Net::FTP=GLOB(0x82e87ac)>>> PASS ....
Net::FTP=GLOB(0x82e87ac)<<< 230 User #### logged in.
Net::FTP=GLOB(0x82e87ac)>>> CWD ##################
Net::FTP=GLOB(0x82e87ac)<<< 250 CWD command successful.
Net::FTP=GLOB(0x82e87ac)>>> PASV
Net::FTP=GLOB(0x82e87ac)<<< 227 Entering Passive Mode (62,161,32,1,24,201)
Net::FTP=GLOB(0x82e87ac)>>> NLST
Net::FTP=GLOB(0x82e87ac)<<< 550 Arguments too long
Net::FTP=GLOB(0x82e87ac)>>> QUIT
Any help would be greatly appreciated.
Tony