Topic "using WinScp script on ftp.fileserve.com"

Author Message
Yosi

Guest


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
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Can you post the piece of log file with the error?
_________________
Martin Prikryl
Yosi

Guest


prikryl 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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
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?
_________________
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