using WinScp script on ftp.fileserve.com

Advertisement

Yosi
Guest

using WinScp script on ftp.fileserve.com

Greetings

I have set up remote ftp. Using WinSCP logging and all works fine but when I try to cd to a directory on the remote site it does not recognize the folde/directory.
Whereas I can see this folder when using the WinSCP console.

Any ideas as to why this is the case?

Here is snippets of log file

Host name: 209.222.12.20 (Port: 21)
. 2010-12-23 11:38:53.484 Transfer Protocol: FTP
. 2010-12-23 11:38:53.484 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2010-12-23 11:38:53.499 Proxy: none
. 2010-12-23 11:38:53.499 FTP: FTPS: None; Passive: No [Force IP: No]
. 2010-12-23 11:38:53.515 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2010-12-23 11:38:53.515 Cache directory changes: Yes, Permanent: Yes
. 2010-12-23 11:38:53.515 DST mode: 1

> 2010-12-23 11:38:54.749 SYST
< 2010-12-23 11:38:54.828 215 UNIX Type: L8
> 2010-12-23 11:38:54.828 FEAT
< 2010-12-23 11:38:54.921 211-Features:
< 2010-12-23 11:38:54.921 MDTM
< 2010-12-23 11:38:54.921 MFMT
< 2010-12-23 11:38:54.921 UTF8
< 2010-12-23 11:38:54.937 MFF modify;UNIX.group;UNIX.mode;
< 2010-12-23 11:38:54.937 MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
< 2010-12-23 11:38:54.937 REST STREAM
< 2010-12-23 11:38:54.937 LANG en-US;bg-BG;zh-CN;it-IT;ru-RU;fr-FR;ko-KR;zh-TW
< 2010-12-23 11:38:54.953 SIZE
< 2010-12-23 11:38:54.953 211 End
> 2010-12-23 11:38:54.953 OPTS UTF8 ON
< 2010-12-23 11:38:54.999 200 UTF8 set to on
. 2010-12-23 11:38:54.999 Connected

Thanks

Reply with quote

Advertisement

Yosi
Guest

martin wrote:

Can you post the piece of log file with the error?

Was this what you were looking for?

> 2010-12-24 10:40:14.559 Script: cd \Ftpdir
. 2010-12-24 10:40:14.559 Changing directory to "\Ftpdir".
> 2010-12-24 10:40:14.559 CWD \Ftpdir
< 2010-12-24 10:40:14.653 550 \Ftpdir: No such file or directory
* 2010-12-24 10:40:14.653 (ECommand) Error changing directory to '\Ftpdir'.
* 2010-12-24 10:40:14.653 \Ftpdir: No such file or directory
< 2010-12-24 10:40:14.668 Script: /
. 2010-12-24 10:40:14.668 Script: Failed
> 2010-12-24 10:40:14.668 Script: ls
. 2010-12-24 10:40:14.684 Retrieving directory listing...



Thanks

Reply with quote

martin
Site Admin
martin avatar

I do not see anything wrong in the log. Do you? Are you sure the directory exists? Is it indeed a subdirectory of directory you start in?

Reply with quote

Advertisement

You can post new topics in this forum