Error getting name of current remote directory

Advertisement

zeus_12345
Joined:
Posts:
5

Error getting name of current remote directory

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 method to connect to this system?
Thank you for help.
Best regards

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Error getting name of current remote directory

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.

Reply with quote

martin
Site Admin
martin avatar

Re: Error getting name of current remote directory

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.

Reply with quote

zeus_12345
Joined:
Posts:
5

Re: Error getting name of current remote directory

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
günter

Reply with quote

Advertisement

You can post new topics in this forum