Upload files to SFTP folder

Advertisement

sophie.lu
Joined:
Posts:
1

Upload files to SFTP folder

Hi,
I have question about writing a script to upload all files from a folder saved in my local computer to a SFTP folder. I need the script to schedule automated transfers.

I am new to writing scripts, should I use this example?
"C:\Program Files (x86)\WinSCP\WinSCP.exe" /log=c:\path\winscp.log /command "open sftp://username:password@hostname.com/" "put C:\Users\username\Desktop\FolderName\* /" "exit"
Thanks,
sophie

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum