I'm having trouble getting the FTP part of the of vicidial_in_new_leads_file.pl script to work. If I place my list files in the /usr/share/astguiclient/LEADS_IN/ folder, the script works flawlessly. If I add the --ftp-pull and the --ftp-dir switches, it does not seem to go out and grab the files. When I use putty just to ftp to my ftp server, I can use the get command to transfer files over. So I don't think it is a permissions issue.
This is what I see when I run the script with the --debugX switch.
LEADS_IN directory: |/usr/share/astguiclient/LEADS_IN|
Net::FTP>>> Net::FTP(2.77)
Net::FTP>>> Exporter(5.64_01)
Net::FTP>>> Net::Cmd(2.29)
Net::FTP>>> IO::Socket::INET(1.31)
Net::FTP>>> IO::Socket(1.31)
Net::FTP>>> IO::Handle(1.28)
Net::FTP=GLOB(0x87684d4)<<< 220 Microsoft FTP Service
Net::FTP=GLOB(0x87684d4)>>> USER my ftp user
Net::FTP=GLOB(0x87684d4)<<< 331 Password required for my ftp user.
Net::FTP=GLOB(0x87684d4)>>> PASS ....
Net::FTP=GLOB(0x87684d4)<<< 230 User my user logged in.
Net::FTP=GLOB(0x87684d4)>>> PASV
Net::FTP=GLOB(0x87684d4)<<< 227 Entering Passive Mode (10,0,10,42,14,227).
Net::FTP=GLOB(0x87684d4)>>> LIST leads_in
Net::FTP=GLOB(0x87684d4)<<< 125 Data connection already open; Transfer starting.
Net::FTP=GLOB(0x87684d4)<<< 226 Transfer complete.
04-27-12 04:04AM 3487049 111.csv
04-27-12 04:05AM 769738 112.csv
04-27-12 04:06AM 1542814 113.csv
ViciBox server | | VicidialVERSION: 2.6-365a
BUILD: 120420-1620 | Asterisk 1.4.21.2 | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation