Fix IT Scripts
0 like 0 dislike
24 views

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

winscp.com /command "open sftp://user:[email protected]/" "put examplefile.txt /home/user/" "exit"

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

open sftp://user:[email protected]/
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

asked in WinSCP by (3.1k points) | 24 views

1 Answer

0 like 0 dislike
The Answer is above
answered by (3.1k points)

Related questions

0 like 0 dislike
1 answer
asked Aug 11, 2017 in Windows OS by doughall (3.1k points) | 32 views
0 like 0 dislike
0 answers
0 like 0 dislike
1 answer
asked Aug 10, 2017 in Operating Systems by doughall (3.1k points) | 34 views
30 questions
24 answers
17 comments
627 users