Skip to content

Instantly share code, notes, and snippets.

@mcalhoun
Created November 2, 2015 14:50
Show Gist options
  • Save mcalhoun/c7e8be1a979e38c56ae6 to your computer and use it in GitHub Desktop.
Save mcalhoun/c7e8be1a979e38c56ae6 to your computer and use it in GitHub Desktop.
Example Using WinSCP to copy file to ftp2.datavail.com
C:\Users\mcalhoun\Downloads\winscp575>winscp.com /script=commands.txt
@mcalhoun
Copy link
Author

mcalhoun commented Nov 2, 2015

Download the "portable" version of WinSCP (no installation necessary, just copy the .zip contents to the server with your script) from http://winscp.net/download/winscp575.zip

#commands.txt file
open ftps://mcalhoun:mypassword@ftp2.datavail.com:21 -explicittls
binary
put test.txt
exit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment