Note that the documentation covers new features and changes in beta releases 4.2 through 4.2.4 already.

Uploading a single file

Uploading a single file involves so few commands that it is enough to provide them on the command line, saving writing a script file:

winscp.com /command "option batch abort" "option confirm off" "open user@example.com" "put examplefile.txt /home/user/" "exit"

However you may want to use a script file anyway, so you can later expand it:

option batch abort
option confirm off
open user@example.com
put examplefile.txt /home/user/
exit

To run the script use following command (providing you have saved the script to file example.txt):

winscp.com /script=example.txt

Further Reading

 
  scripts.txt · Last modified: 12 Sep 2009 by prikryl
 

Search

This page

Donate

Donate via PayPal

Associations

Site design by Black Gate