Topic "WinSCP command script problem with GET command"

Author Message
ken

Guest


Why does WinSCP properly handle this command:
get myfile200601.txt f:\

but not this one?
get myfile200601.txt f:\source\temp_transmission

- the response found in the log is:
. 2006-01-09 11:32:43.634 File: "/out/myfile200601.txt"
. 2006-01-09 11:32:43.634 Copying "/out/myfile200601.txt" to local directory started.
. 2006-01-09 11:32:43.634 Binary transfer mode selected.
* 2006-01-09 11:32:43.634 (ExtException)
. 2006-01-09 11:32:43.634 Asking user:
. 2006-01-09 11:32:43.634 'f:\source\temp_transmission' is not file! ()
* 2006-01-09 11:32:43.634 (EScpSkipFile) 'f:\source\Temp_Transmission' is not file!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
ken wrote:
get myfile200601.txt f:\

This means download file myfile200601.txt to directory f:\ under the same name.

Quote:
get myfile200601.txt f:\source\temp_transmission

This means download file myfile200601.txt to directory f:\source\ under name temp_transmission. There is probably already subdirectory temp_transmission, which makes the download fail.
_________________
Martin Prikryl
Osvaldo

Guest


Just add at the end of the path the "\" simbold, example:get myfile200601.txt f:\source\temp_transmission\

By
Advertisements

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License