Sign in to follow this  
Followers 0
aphesia

sync file fia ftp while creating & using SSH tunnel

1 post in this topic

#1 ·  Posted (edited)

Hi, I would like to sync a file via my linux server. But:

I would prefer to first open & use a SSH tunnel before starting to log into the ftp and syncing the file. Using SFTP would be fine too I guess. I couldn't find anything help full via google. The only thing I could imagine right now:

Run putty.exe (I'm on Windows 7) with command line options to automatically load the SSH-tunnel session & log into the account. This would mean the ssh tunnel is open and I just need to use an socks5 proxy for localhost:port. Then I could use a simply ftp transfer. I hoped there would be a more "lightweight" solution.

Thanks :)

@edit: It looks like winscp.exe is the only solution.

its a simple .exe that support command line parameters to connect via sftp + sync folders (winscp.exe /sync /folder1 /folder2).. so I guess I will just run that via autoit

Edited by aphesia

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0