Topic "WinSCP_log (ECommand) Error changing directory"

Author Message
alexbor

Guest


on the other server script work

but on that server don't work





script

option confirm off
option batch continue
open sftp://root:xxxxx@xxxxxxx
cd project/v3/VARIABLE
get MachineStates.txt E:\ROBI\Devices\ATP121\Status\
close
exit


log file

2009-08-10 19:03:09.688 Using SFTP protocol.
. 2009-08-10 19:03:09.688 Doing startup conversation with host.
> 2009-08-10 19:03:09.688 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2009-08-10 19:03:09.735 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2009-08-10 19:03:09.735 SFTP version 3 negotiated.
. 2009-08-10 19:03:09.735 We believe the server has signed timestamps bug
. 2009-08-10 19:03:09.735 We will use UTF-8 strings for status messages only
. 2009-08-10 19:03:09.735 Limiting packet size to OpenSSH sftp-server limit of 262148 bytes
. 2009-08-10 19:03:09.735 Getting current directory name.
. 2009-08-10 19:03:09.735 Getting real path for '.'
> 2009-08-10 19:03:09.735 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2009-08-10 19:03:09.766 Type: SSH_FXP_NAME, Size: 31, Number: 16
. 2009-08-10 19:03:09.766 Real path is '/root'
. 2009-08-10 19:03:09.766 Startup conversation with host finished.
. 2009-08-10 19:03:09.782 Changing directory to "project/v3/VARIABLE".
. 2009-08-10 19:03:09.782 Getting real path for '/root/project/v3/VARIABLE'
> 2009-08-10 19:03:09.782 Type: SSH_FXP_REALPATH, Size: 34, Number: 272
< 2009-08-10 19:03:09.813 Type: SSH_FXP_STATUS, Size: 29, Number: 272
< 2009-08-10 19:03:09.813 Status/error code: 2, Message: 272, Server: No such file, Language:
* 2009-08-10 19:03:09.813 (ECommand) Error changing directory to 'project/v3/VARIABLE'.
* 2009-08-10 19:03:09.813 Cannot get real path for '/root/project/v3/VARIABLE'.
* 2009-08-10 19:03:09.813 No such file or directory.
* 2009-08-10 19:03:09.813 Error code: 2
* 2009-08-10 19:03:09.813 Error message from server: No such file
* 2009-08-10 19:03:09.813 Request code: 16
. 2009-08-10 19:03:09.813 Listing file "MachineStates.txt".
> 2009-08-10 19:03:09.813 Type: SSH_FXP_LSTAT, Size: 32, Number: 519
< 2009-08-10 19:03:09.860 Type: SSH_FXP_STATUS, Size: 29, Number: 519
< 2009-08-10 19:03:09.860 Status/error code: 2, Message: 519, Server: No such file, Language:
. 2009-08-10 19:03:09.860 Closing connection.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
Does the directory /root/project/v3/VARIABLE exist on the server?
_________________
Martin Prikryl
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