Having trouble with the command line lead loader script

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Having trouble with the command line lead loader script

Postby Arative » Fri Apr 27, 2012 11:51 am

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
Arative
 
Posts: 38
Joined: Wed May 19, 2010 1:04 pm

Re: Having trouble with the command line lead loader script

Postby williamconley » Sun Apr 29, 2012 12:08 pm

Always post your installer version (vicibox is good to know ... but often there are idiosyncrasies assigned to an individual installer release ...)

have you tried it with non-numeric files? I've never had a problem with that script so it's just a guess.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: No registered users and 137 guests