I need some assistance in getting a file from an sftp server. I get files from various different servers and I use a variety of "get" methods for retrieving the files. I have successfully been able to use:
cURL: curl -u $FtpUser:$FtpPassword $ClientFtpSite/$file -o $file
ncftpget: ncftpget -V
ftp://username:password@ftpurl/filename.txtI'm having a lot of issues trying to retrieve files from an SFTP (not FTPS) server. I tried the above but to no avail. I tried researching for other methods and came across Net::S
FTP. I research and tried using this method but there seems to be a bug in this protocol pertaining to some BigInt Math libraries. I also tried using Net::S
FTP:Foreign which resolves the BigInt Math libray issue but later found out that it does not support username:password authentication.
Is there ANYway to retrieve files from an sftp server programatically? Can someone please assist me?
Start Free Trial