Topic "Error getting name of current remote directory"

Author Message
zeus_12345
[View user's profile]

Joined: 2012-05-24
Posts: 5
Error getting name of current remote directory
1.0/

winscp commandline:
Searching for host...
Host does not exist
winscp> open ftp://anonymous:123@163.160.160.22:21
Connecting to 163.160.160.22 ...
Connected with 163.160.160.22. Waiting for welcome message...
Connected
Starting the session...
Error getting name of current remote directory.
1.0/
1.0/
winscp>

windows ftp:
D:\Documents and Settings\a30725.GBR>ftp 163.1600.160.22
Unknown host 163.1600.160.22.
ftp> open 163.160.160.22
Connected to 163.160.160.22.
220 163.160.160.22 System Card FTP server (0.22_ Release) ready.
User (163.160.160.22:(none)): anonymous
331 Guest login ok, send password.
Password:
230 Guest login ok, access restrictions apply.
ftp> pwd
550 1.0/
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for ..
imc.ini
TEST.DAT
ni.dat
HIST.TXT
....

Is there a methode to connect to this system?
Thank you for Help.
Best Regards
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Please attach a full log file showing the problem (using the latest version of WinSCP).

To generate log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.

_________________
Martin Prikryl
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Sorry, I should have noticed this already in your initial post. Your server responds with error code 550 to PWD request. WinSCP cannot deal with that. It needs to know what is your current working directory to allow navigation. It's actually not strictly needed for command-line interface. But WinSCP is primarily GUI client.
zeus_12345
[View user's profile]

Joined: 2012-05-24
Posts: 5
Hi Martin,
here a log of MS ftp
D:\Documents and Settings\xxxxx.GBR>ftp 163.160.160.22
Connected to 163.160.160.22.
220 163.160.160.22 System Card FTP server (0.22_ Release) ready.
User (163.160.160.22:(none)):
500 'USER ': command not understood.
Login failed.
ftp> user ftp
331 Guest login ok, send password.
Password:
230 Guest login ok, access restrictions apply.
ftp> pwd
550 1.0/
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for ..
-rwxrwxrwx 1 root 1024 Apr 02 2013 00:00 TEST.DAT
...
...
...
226 Transfer complete.
ftp: 991 bytes received in 1.69Seconds 0.59Kbytes/sec.
ftp> mkdir gst
257 MKD command successful.
ftp> cd gst
250 CWD command successful.
ftp> pwd
550 1.0/gst
ftp> bye
221 Goodbye.
it seems, that 550 is no an error, but a part of the directory
have you an idea how to move around this issue
best Regards
gnter
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Response to PWD command starts with FTP status code, as any other FTP response.
According to a spec, 550 means "Requested action not taken. File unavailable (e.g., file not found, no access)".
For details refer to RFC 959:
https://www.ietf.org/rfc/rfc959.txt
_________________
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