Transferring Recordings to SFTP not FTP
Posted: Wed Nov 11, 2015 1:49 pm
So I'm having issues sending recordings to a secure FTP (SFTP) which uses port 22 like SSH.
Here's what I get:
I edited astguiclient.conf with the details... but unsure what needs to be changed to allow SFTP vs FTP
Here's what I get:
- Code: Select all
/usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --debugX
----- DEBUG -----
----- SUPER DEBUG -----
/bootincluded_archives.filelist 2464
/license.tar.gz 42268
/.readahead 62940
/ssh2-0.10.tgz 22187
/bootincluded_archives.filelist 2464
|select recording_id,start_time from recording_log where filename='bootincluded_archives.filelist' order by recording_id desc LIMIT 1;|
||2015-11-11|bootincluded_archives.filelist| ||
Net::FTP>>> Net::FTP(2.77)
Net::FTP>>> Exporter(5.68)
Net::FTP>>> Net::Cmd(2.29)
Net::FTP>>> IO::Socket::INET(1.33)
Net::FTP>>> IO::Socket(1.36)
Net::FTP>>> IO::Handle(1.34)
Net::FTP=GLOB(0x1e900a0)<<< SSH-2.0-OpenSSH
Can't call method "login" on an undefined value at /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl line 447.
I edited astguiclient.conf with the details... but unsure what needs to be changed to allow SFTP vs FTP