SFTP Support

Use this forum to request features. Maybe you'll get lucky!
Post Reply
KalenXII
Posts: 7
Joined: Tue Nov 29, 2016 6:03 pm

SFTP Support

Post 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.
admin
Site Admin
Posts: 1669
Joined: Sat Feb 08, 2014 10:39 pm

Re: SFTP Support

Post by admin »

Hi KalenXII,

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

-steinar
yannickb
Posts: 1
Joined: Tue Oct 01, 2019 8:06 am

Re: SFTP Support

Post 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
admin
Site Admin
Posts: 1669
Joined: Sat Feb 08, 2014 10:39 pm

Re: SFTP Support

Post 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
emcodem
Posts: 1654
Joined: Wed Sep 19, 2018 8:11 am

Re: SFTP Support

Post 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.
emcodem, wrapping since 2009 you got the rhyme?
Post Reply