Topic "Script Automation of Get Command"

Author Message
[View user's profile]

Joined: 2015-07-28
Posts: 1
I am new to using WinSCP - today is my first day. Your site contains documentation for the PUT command, but little to nothing on the GET command or Downloading a single file.

Contents » Features » Scripting » Useful Scripts »
Uploading a single file
A single file upload involves so few commands that it is enough to provide them on the command line, saving writing a script file: /command "option batch abort" "option confirm off" "open s" "put examplefile.txt /home/user/" "exit"However you may want to use a script file anyway, so you can later expand it:

What would be the corresponding example for the GET command to retrieve the same examplefile.txt that was just placed into the /home/user directory?

The documentation on WinSCP is completely lacking on the GET command. WinSCP is a free program, so I am appreciative of any assistance that can be rendered.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24736
Location: Prague, Czechia
get /home/user/examplefile.txt


You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License