FileZilla Forums

Welcome to the official discussion forums for FileZilla
Donate to project
It is currently 2014-04-16 07:13

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: 2008-09-19 09:18 
Offline
500 Command not understood

Joined: 2008-09-19 08:52
Posts: 5
Hello everybody,

First, thanks to the community for doing such good work on FileZilla, it really became my most preferred FTP-Client throughout the last years.

But sad as it is, I'm now facing a problem in using it.
There is a FTP-server I'm connecting to, which is not properly handled by the Client.
To be precise, everything is working except directory listing. Although the server returns a directory list and although FileZilla reports the listing as successful, the remote-folder is empty.

Using command-line FTP-utility the listing works, a colleague of me is using a client named ALFTP which is working as well, but FileZilla doesn't.
Looking at the dir-listing from the command-line it seems that some foreign characters are used for the date-format, I assume that this is causing the problem (it's a FTP-Server located in Asia)

I've attached a Verbose log from the connection setup, including the raw directory-data. I would appreciate if one of you could give me a hint to solve the problem and finally make the server work with FileZilla again.

Thanks in Advance already
Rick

FileZilla connection-log
Quote:
Status: Connecting to 162.243.137.7...
Trace: Going to execute "C:\Programme\FileZilla FTP Client\fzsftp.exe"
Response: fzSftp started
Trace: CSftpControlSocket::ConnectParseResponse(fzSftp started)
Trace: CSftpControlSocket::SendNextCommand()
Trace: CSftpControlSocket::ConnectSend()
Command: open "slopri@162.243.137.7" 22
Trace: Looking up host "162.243.137.7"
Trace: Connecting to 162.243.137.7 port 22
Trace: Server version: SSH-2.0-Sun_SSH_1.1
Trace: Using SSH protocol version 2
Trace: We claim version: SSH-2.0-PuTTY_Local:_Aug_30_2008_14:48:41
Trace: Doing Diffie-Hellman group exchange
Trace: Doing Diffie-Hellman key exchange with hash SHA-1
Command: Trust new Hostkey: Yes
Trace: Host key fingerprint is:
Trace: ssh-rsa 1024 14:2b:b5:9c:95:9f:48:ca:28:d9:66:27:0f:43:12:d8
Trace: Initialised AES-128 CBC client->server encryption
Trace: Initialised HMAC-SHA1 client->server MAC algorithm
Trace: Initialised AES-128 CBC server->client encryption
Trace: Initialised HMAC-SHA1 server->client MAC algorithm
Trace: Using keyboard-interactive authentication. inst_len: 0, num_prompts: 1
Command: Pass: *********
Trace: Access granted
Trace: Opened channel for session
Trace: Started a shell/command
Status: Connected to 162.243.137.7
Trace: CSftpControlSocket::ConnectParseResponse()
Trace: CSftpControlSocket::ResetOperation(0)
Trace: CControlSocket::ResetOperation(0)
Status: Retrieving directory listing...
Trace: CSftpControlSocket::SendNextCommand()
Trace: CSftpControlSocket::ChangeDirSend()
Command: pwd
Response: Current directory is: "/home/slopri"
Trace: CSftpControlSocket::ResetOperation(0)
Trace: CControlSocket::ResetOperation(0)
Trace: CSftpControlSocket::ParseSubcommandResult(0)
Trace: CSftpControlSocket::ListSubcommandResult()
Trace: CSftpControlSocket::SendNextCommand()
Trace: CSftpControlSocket::ListSend()
Command: ls
Status: Listing directory /home/slopri
Listing: drwxr-x--- 5 slopri devlab 512 .
Listing: dr-xr-xr-x 9 root root 9 ..
Listing: -rw-r--r-- 1 slopri devlab 813 .profile
Listing: -rw------- 1 slopri devlab 284 .sh_history
Listing: -rw-r--r-- 1 slopri devlab 438 .cshrc
Listing: lrwxrwxrwx 1 slopri devlab 17 common
Listing: drwxr-xr-x 3 slopri devlab 512 ftp
Listing: drwxr-xr-x 2 slopri devlab 512 projects
Listing: drwxr-xr-x 3 slopri devlab 512 public_html
Listing: -rw-r--r-- 1 slopri devlab 776 .login
Trace: CSftpControlSocket::ListParseResponse()
Trace: CSftpControlSocket::ResetOperation(0)
Trace: CControlSocket::ResetOperation(0)
Status: Directory listing successful


Windows cmd-line directory-listing:
Quote:
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
├Ð 128
-rw-r--r-- 1 slopri devlab 438 2005│Ô 1┐¨ 13└¤ .cshrc
-rw-r--r-- 1 slopri devlab 776 2005│Ô 1┐¨ 13└¤ .login
-rw-r--r-- 1 slopri devlab 813 2005│Ô 1┐¨ 13└¤ .profile
-rw------- 1 slopri devlab 284 2005│Ô 1┐¨ 13└¤ .sh_history
lrwxrwxrwx 1 slopri devlab 17 2005│Ô 1┐¨ 13└¤ common -> /ccase/ccstg
/dev5
drwxr-xr-x 3 slopri devlab 512 2007│Ô 9┐¨ 14└¤ ftp
drwxr-xr-x 2 slopri devlab 512 2007│Ô 9┐¨ 14└¤ projects
drwxr-xr-x 3 slopri devlab 512 2005│Ô 1┐¨ 13└¤ public_html
226 Transfer complete.


Top
 Profile  
 
PostPosted: 2008-09-19 09:34 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 22516
According to the log, you are not connecting to an FTP server, you are connecting to an SFTP server. Similar name, but completely different protocols.

Quote:
Listing: drwxr-xr-x 3 slopri devlab 512 public_html


Your server uses a very exotic directory listing format. It is missing the modification date/time.


Top
 Profile  
 
PostPosted: 2008-09-19 10:27 
Offline
500 Command not understood

Joined: 2008-09-19 08:52
Posts: 5
Ah, okay. Thanks for clarification.

Is there anything I can do about it to make FileZilla parse the listing anway ?

Thx
Rick


Top
 Profile  
 
PostPosted: 2008-09-19 10:33 
Offline
500 Command not understood

Joined: 2008-09-19 08:52
Posts: 5
Sorry, just noted one thing.
Looking at the dir-listing of the cmd-line, isn't there a modification timestamp within that response ?

Quote:
drwxr-xr-x 3 slopri devlab 512 2005│Ô 1┐¨ 13└¤ public_html


I checked the server using my colleagues's ALFTP client, and it indeed returned Jan 13th 2005 as date for the above folder...


Top
 Profile  
 
PostPosted: 2008-09-19 11:04 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 22516
Different protocols are handled by different servers.


Top
 Profile  
 
PostPosted: 2008-09-19 11:42 
Offline
500 Command not understood

Joined: 2008-09-19 08:52
Posts: 5
Sorry, that's a bit too cryptic for me, any chance to get a complete answer ?

So, you mean FileZilla is not supposed to support it and won't support it ?


Top
 Profile  
 
PostPosted: 2008-09-19 11:57 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 22516
Your colleague did not connect to the same server as you did with FileZilla. I did explain it in my initial reply.


Top
 Profile  
 
PostPosted: 2008-09-19 12:32 
Offline
500 Command not understood

Joined: 2008-09-19 08:52
Posts: 5
aha, I didn't read your initial reply like that, to me it just sounded as a correction to my initial statement.
However, now it's clear, thank you.
we both connected to the same IP, both via SFTP.
But I found that the server supports standard FTP-connections as well now (probably the connection I used on cmdline, right?), in addition to SFTP.

So, finally I found a workaround by using FTP instead of SFTP

Thanks for your help
Rick


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 29 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Dedicated server provided by Artmotion.
Forum sponsored by Everyware.ch.
Powered by phpBB® Forum Software © phpBB Group