WinSCP command script problem with GET command

Advertisement

ken
Guest

WinSCP command script problem with GET command

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!

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,802
Location:
Prague, Czechia

Re: WinSCP command script problem with GET command

ken wrote:

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

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

Reply with quote

Advertisement

You can post new topics in this forum