Page 1 of 1

SFTP Support

Posted: Wed May 03, 2017 6:25 pm
by KalenXII
Didn't see an existing feature request for this anywhere. But it would be nice if the FTP monitor could also support connecting to servers via SFTP.

Re: SFTP Support

Posted: Fri May 05, 2017 9:22 pm
by admin
Hi KalenXII,

Supporting SFTP has no priority at the moment but your request has been noted.

-steinar

Re: SFTP Support

Posted: Tue Oct 01, 2019 8:09 am
by yannickb
Hello,
I would also like SFTP to be supported : when you have to cross multiple firewalls, that is the easiest way to transfer files without much hassle (and secure++). Any update about that request? Thanks.
Yannick

Re: SFTP Support

Posted: Tue Oct 01, 2019 10:20 am
by admin
Hi yannickb, thank you for using FFAStrans and welcome to the forum!

Currently this is not a priority but the request is still noted ;-)

-steinar

Re: SFTP Support

Posted: Tue Oct 01, 2019 10:33 am
by emcodem
Just for reference, i need to mention that i totally disagree that sftp is easy or good or secure for transfer of huge files due to many different reasons. Though the alternatives cost some coins so it is one of the few ways that are actually possible. Just make sure the contents are zipped or tarred before transferring as such transfers have no mechanism to ensure that the correct content or all bytes were transferred.

Also for reference, here some examples that i use on commandline:
Upload *.* from c:\temp to sftp://server/folder and delete source files

Code: Select all

"c:\somefolder\winscp.exe" /xmllog=c:\tmp\winscp_log.xml /command "option batch abort" "option confirm off" "open "sftp://server/folder" -passive=on" "put -delete "c:\temp\/*.*"" "exit"
Download *.* from sftp://server/folder to c:\temp and delete sources:

Code: Select all

"c:\winscp.exe"/xmllog=c:\tmp\winscp_log.xml /command "option batch abort" "option confirm off" "open "sftp://server/folder" -passive=on" "get *.* -delete "c:\temp\"" "exit"
In both cases, winscp_log.xml will contain the transferred files and can be parsed for it.
Usage in current ffastrans version could look like: create a scheduled job on the webinterface to run every hour and start a ffas workflow that does not more than downloading files. Downloaded files go to a folder that is monitored by the actual transcoding workflow.