501 is an error message telling you that it could not do the MLSD. any message that starts with 5XX
or 4XX is an error.
From what I could make of the log it looks like the server cannot connect to the client (that is
how the data channel is formed). Is the client behind a firewall?
Mohammad Bhuyan wrote:
Hi,
I am developing a basic gridftp server and testing against the Globus
GridFTP GUI.
While I try to download a file from my server (dragging the remote
file to local directory in the GUI panel), the client sends a MLSD
command to server with the file as parameter.
As per RFC 3659, MLSD on file (not directory) should return 501.
In the logoutput for the GUI client I find that the 501 reply is not
what the client was expecting. (I am attaching the logoutputfile for
the session.)
2009-03-31 15:52:20,165 DEBUG vanilla.TransferState
[Thread-74,transferError:57] intercepted exception
org.globus.ftp.exception.ServerException: Server refused performing
the request. Custom message: (error code 1) [Nested exception
message: Custom message: Unexpected reply: 501 Not allowed on file.].
Nested exception is ......
What is expected to be done/returned by the server?
Thanks,
Mohammad