FPT problem when reading file - FTP
[1/3] from: antonr:iinet:au at: 12-Sep-2003 4:08
I tried FileZilla Server 0.86 beta and I replicated the
problem.
It looks like a bug in FileZilla Server to me.
FileZilla Server is apparently trying to follow RFC 959:
http://www.faqs.org/rfcs/rfc959.html
and it says:
LIST (LIST)
This command causes a list to be sent from the server to the
passive DTP. If the pathname specifies a directory or other
group of files, the server should transfer a list of files
in the specified directory. If the pathname specifies a
file then the server should send current information on the
file.
The problem is: FileZilla is not handling the case of a file.
I looked in the rebol handler and found that it sends a request
to LIST the file before RETRieving it, which looks correct and in
accordance with the RFC to me.
I have submitted a bug report to the SourceForge FileZilla project
about it.
I was unable to find the source for the FileZilla Server, though.
Anton.
[2/3] from: wonko::algonet::se at: 12-Sep-2003 22:08
At 00:00 2003-09-12 +0200, you wrote:
Excellent! Hopefully this will soon be fixed. Unfortunately there
are >170 bugs reported for FileZilla before. But is there a simple
workaround to use until this will be fixed?
Best regards,
Peter
[3/3] from: antonr:iinet:au at: 13-Sep-2003 11:51
I was half-expecting this question.
You have no choice about connecting to a
different FTP server do you?
The solution is to hack the ftp scheme a bit.
I believe the RETR will work without an initial
LIST.
write cliboard:// system/schemes/ftp/handler
Open your editor, then paste into a new file which contains:
rebol []
system/schemes/ftp/handler:
; <- paste here
Now you search for:
do select [
file [
net-utils/confirm/multiline port/locals/cmd-port list-file-check
...
and start commenting until it works!
Anton.