Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid
# FTP recording archive connection information
VARFTP_host => 188.x.x.x
VARFTP_user => xxxx
VARFTP_pass => xxxx
VARFTP_port => 21
VARFTP_dir => RECORDINGS
VARHTTP_path => http://188.x.x.x
[root@go astguiclient]# perl AST_CRON_audio_3_ftp.pl --debugX
----- DEBUG -----
----- SUPER DEBUG -----
/.asterisk_history 122
/.autorelabel 0
/.bash_history 132
/.autofsck 0
/.asterisk_history 122
|select recording_id,start_time from recording_log where filename='.asterisk_history' order by recording_id desc LIMIT 1;|
||2015-06-26|.asterisk_history| ||
Net::FTP>>> Net::FTP(2.75)
Net::FTP>>> Exporter(5.58)
Net::FTP>>> Net::Cmd(2.26)
Net::FTP>>> IO::Socket::INET(1.29)
Net::FTP>>> IO::Socket(1.29)
Net::FTP>>> IO::Handle(1.25)
Net::FTP=GLOB(0x1dc04570)<<< 220 Welcome to testing ftp
Net::FTP=GLOB(0x1dc04570)>>> user testftp
Net::FTP=GLOB(0x1dc04570)<<< 331 Please specify the password.
Net::FTP=GLOB(0x1dc04570)>>> PASS ....
Net::FTP=GLOB(0x1dc04570)<<< 230 Login successful.
Net::FTP=GLOB(0x1dc04570)>>> CWD RECORDINGS
Net::FTP=GLOB(0x1dc04570)<<< 250 Directory successfully changed.
Net::FTP=GLOB(0x1dc04570)>>> MKD 2015-06-26
Net::FTP=GLOB(0x1dc04570)<<< 257 "/home/testftp/RECORDINGS/2015-06-26" created
Net::FTP=GLOB(0x1dc04570)>>> CWD 2015-06-26
Net::FTP=GLOB(0x1dc04570)<<< 250 Directory successfully changed.
Net::FTP=GLOB(0x1dc04570)>>> TYPE I
Net::FTP=GLOB(0x1dc04570)<<< 200 Switching to Binary mode.
Net::FTP=GLOB(0x1dc04570)>>> ALLO 122
Net::FTP=GLOB(0x1dc04570)<<< 202 ALLO command ignored.
Net::FTP=GLOB(0x1dc04570)>>> PASV
Net::FTP=GLOB(0x1dc04570)<<< 227 Entering Passive Mode (188,x,x,x,175,146)
Net::FTP=GLOB(0x1dc04570)>>> STOR .asterisk_history
Net::FTP=GLOB(0x1dc04570)<<< 150 Ok to send data.
Net::FTP=GLOB(0x1dc04570)<<< 226 File receive OK.
Net::FTP=GLOB(0x1dc04570)>>> QUIT
Net::FTP=GLOB(0x1dc04570)<<< 221 Goodbye.
|UPDATE recording_log set location='http://188.x.x.x/2015-06-26/.asterisk_history' where recording_id='';|
Transfered 1 files
/.autorelabel 0
|select recording_id,start_time from recording_log where filename='.autorelabel' order by recording_id desc LIMIT 1;|
||2015-06-26|.autorelabel| ||
Net::FTP=GLOB(0x1dce4cb0)<<< 220 Welcome to testing ftp
Net::FTP=GLOB(0x1dce4cb0)>>> user testftp
Net::FTP=GLOB(0x1dce4cb0)<<< 331 Please specify the password.
Net::FTP=GLOB(0x1dce4cb0)>>> PASS ....
Net::FTP=GLOB(0x1dce4cb0)<<< 230 Login successful.
Net::FTP=GLOB(0x1dce4cb0)>>> CWD RECORDINGS
Net::FTP=GLOB(0x1dce4cb0)<<< 250 Directory successfully changed.
Net::FTP=GLOB(0x1dce4cb0)>>> MKD 2015-06-26
Net::FTP=GLOB(0x1dce4cb0)<<< 550 Create directory operation failed.
Net::FTP=GLOB(0x1dce4cb0)>>> CWD 2015-06-26
Net::FTP=GLOB(0x1dce4cb0)<<< 250 Directory successfully changed.
Net::FTP=GLOB(0x1dce4cb0)>>> TYPE I
Net::FTP=GLOB(0x1dce4cb0)<<< 200 Switching to Binary mode.
Net::FTP=GLOB(0x1dce4cb0)>>> PASV
Net::FTP=GLOB(0x1dce4cb0)<<< 227 Entering Passive Mode (188,x,x,26,123,39)
Net::FTP=GLOB(0x1dce4cb0)>>> STOR .autorelabel
Net::FTP=GLOB(0x1dce4cb0)<<< 150 Ok to send data.
Net::FTP=GLOB(0x1dce4cb0)<<< 226 File receive OK.
Net::FTP=GLOB(0x1dce4cb0)>>> QUIT
Net::FTP=GLOB(0x1dce4cb0)<<< 221 Goodbye.
|UPDATE recording_log set location='http://188.x.x.x/2015-06-26/.autorelabel' where recording_id='';|
Transfered 2 files
/.bash_history 132
|select recording_id,start_time from recording_log where filename='.bash_history' order by recording_id desc LIMIT 1;|
||2015-06-26|.bash_history| ||
Net::FTP=GLOB(0x1dbfae70)<<< 220 Welcome to testing ftp
Net::FTP=GLOB(0x1dbfae70)>>> user testftp
Net::FTP=GLOB(0x1dbfae70)<<< 331 Please specify the password.
Net::FTP=GLOB(0x1dbfae70)>>> PASS ....
Net::FTP=GLOB(0x1dbfae70)<<< 230 Login successful.
Net::FTP=GLOB(0x1dbfae70)>>> CWD RECORDINGS
Net::FTP=GLOB(0x1dbfae70)<<< 250 Directory successfully changed.
Net::FTP=GLOB(0x1dbfae70)>>> MKD 2015-06-26
Net::FTP=GLOB(0x1dbfae70)<<< 550 Create directory operation failed.
Net::FTP=GLOB(0x1dbfae70)>>> CWD 2015-06-26
Net::FTP=GLOB(0x1dbfae70)<<< 250 Directory successfully changed.
Net::FTP=GLOB(0x1dbfae70)>>> TYPE I
Net::FTP=GLOB(0x1dbfae70)<<< 200 Switching to Binary mode.
Net::FTP=GLOB(0x1dbfae70)>>> ALLO 132
Net::FTP=GLOB(0x1dbfae70)<<< 202 ALLO command ignored.
Net::FTP=GLOB(0x1dbfae70)>>> PASV
Net::FTP=GLOB(0x1dbfae70)<<< 227 Entering Passive Mode (188,x,x,x,45,17)
Net::FTP=GLOB(0x1dbfae70)>>> STOR .bash_history
Net::FTP=GLOB(0x1dbfae70)<<< 150 Ok to send data.
Net::FTP=GLOB(0x1dbfae70)<<< 226 File receive OK.
Net::FTP=GLOB(0x1dbfae70)>>> QUIT
Net::FTP=GLOB(0x1dbfae70)<<< 221 Goodbye.
|UPDATE recording_log set location='http://188.x.x.x/2015-06-26/.bash_history' where recording_id='';|
Transfered 3 files
/.autofsck 0
|select recording_id,start_time from recording_log where filename='.autofsck' order by recording_id desc LIMIT 1;|
||2015-06-26|.autofsck| ||
Net::FTP=GLOB(0x1dce4ba0)<<< 220 Welcome to testing ftp
Net::FTP=GLOB(0x1dce4ba0)>>> user testftp
Net::FTP=GLOB(0x1dce4ba0)<<< 331 Please specify the password.
Net::FTP=GLOB(0x1dce4ba0)>>> PASS ....
Net::FTP=GLOB(0x1dce4ba0)<<< 230 Login successful.
Net::FTP=GLOB(0x1dce4ba0)>>> CWD RECORDINGS
Net::FTP=GLOB(0x1dce4ba0)<<< 250 Directory successfully changed.
Net::FTP=GLOB(0x1dce4ba0)>>> MKD 2015-06-26
Net::FTP=GLOB(0x1dce4ba0)<<< 550 Create directory operation failed.
Net::FTP=GLOB(0x1dce4ba0)>>> CWD 2015-06-26
Net::FTP=GLOB(0x1dce4ba0)<<< 250 Directory successfully changed.
Net::FTP=GLOB(0x1dce4ba0)>>> TYPE I
Net::FTP=GLOB(0x1dce4ba0)<<< 200 Switching to Binary mode.
Net::FTP=GLOB(0x1dce4ba0)>>> PASV
Net::FTP=GLOB(0x1dce4ba0)<<< 227 Entering Passive Mode (188,x,x,x,139,54)
Net::FTP=GLOB(0x1dce4ba0)>>> STOR .autofsck
Net::FTP=GLOB(0x1dce4ba0)<<< 150 Ok to send data.
Net::FTP=GLOB(0x1dce4ba0)<<< 226 File receive OK.
Net::FTP=GLOB(0x1dce4ba0)>>> QUIT
Net::FTP=GLOB(0x1dce4ba0)<<< 221 Goodbye.
|UPDATE recording_log set location='http://188.x.x.x/2015-06-26/.autofsck' where recording_id='';|
Transfered 4 files
DONE... EXITING
You have new mail in /var/spool/mail/root
[root@go astguiclient]#
head -50 /usr/share/astguiclient/AST_VDsales_export.pl
perl /usr/share/astguiclient/AST_VDlist_summary_export.pl --help
Return to ViciDialNow - GoAutoDial
Users browsing this forum: Alishkx11 and 91 guests