Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[psftp run commands from file] #psftp #ftp #terminal
psftp username@sftp.server.com -pw password -b commands.txt
commands.txt contain all the psft commands that need to be executed like:
lcd c:\test
mget *.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment