Bad transfer of file
Hi
I have been using WinSCP to transfer
data file from UNIX to Windows 2003
for some time. Now when I changed os
to Windows 2008 R2, the transferred
file is not the same as the original.
There are missin CR+LF and the file
is cut. Manual transfer is OK. Here is
batch a file
option batch on
option confirm off
open user@server
option transfer binary
get /data/file.txt
close
exit
and script
winscp3.exe nuser@server /privatekey=c:\IN\SEM\dva.ppk /script=c:\in\napln
What is wrong with this transfer?
Regards
Milos
I have been using WinSCP to transfer
data file from UNIX to Windows 2003
for some time. Now when I changed os
to Windows 2008 R2, the transferred
file is not the same as the original.
There are missin CR+LF and the file
is cut. Manual transfer is OK. Here is
batch a file
option batch on
option confirm off
open user@server
option transfer binary
get /data/file.txt
close
exit
and script
winscp3.exe nuser@server /privatekey=c:\IN\SEM\dva.ppk /script=c:\in\napln
What is wrong with this transfer?
Regards
Milos