Problem uploading file with aplication

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
gcaffa
500 Command not understood
Posts: 1
Joined: 2018-07-16 15:17
First name: Guido
Last name: Caffa

Problem uploading file with aplication

#1 Post by gcaffa » 2018-07-16 15:31

Hello all, im having problems with filezilla server.

I have a client that run filezilla server version 0.56. Last week i migrate my application to the new server, so now i need to migrate the FZ server... the problem with the fz server is that i can't upload files with my app, but i can do it with another aplication like total commander or the win explorer. My aplication can connect to the server, change de directory but then sudenly goes out:

(000009)16/7/2018 12:11:33 p. m. - testing (10.0.70.139)> PASV
(000009)16/7/2018 12:11:33 p. m. - testing (10.0.70.139)> 227 Entering Passive Mode (10,0,70,139,251,104)
(000009)16/7/2018 12:11:33 p. m. - testing (10.0.70.139)> LIST
(000009)16/7/2018 12:11:33 p. m. - testing (10.0.70.139)> 150 Opening data channel for directory listing of "/Trans/SUC/BA/XRecibo"
(000009)16/7/2018 12:11:33 p. m. - testing (10.0.70.139)> 226 Successfully transferred "/Trans/SUC/BA/XRecibo"
(000009)16/7/2018 12:11:33 p. m. - testing (10.0.70.139)> TYPE I
(000009)16/7/2018 12:11:33 p. m. - testing (10.0.70.139)> 200 Type set to I
(000009)16/7/2018 12:11:43 p. m. - testing (10.0.70.139)> TYPE I
(000009)16/7/2018 12:11:43 p. m. - testing (10.0.70.139)> 200 Type set to I
(000009)16/7/2018 12:11:53 p. m. - testing (10.0.70.139)> QUIT
(000009)16/7/2018 12:11:53 p. m. - testing (10.0.70.139)> 221 Goodbye
(000009)16/7/2018 12:11:53 p. m. - testing (10.0.70.139)> disconnected.


Any help? thanks!

User avatar
boco
Contributor
Posts: 26934
Joined: 2006-05-01 03:28
Location: Germany

Re: Problem uploading file with aplication

#2 Post by boco » 2018-07-16 23:49

First: We can support only the latest version of FileZilla Server. Be sure you're using the latest version (0,9.60, currently).

According to the log snippet, the client (application) is at fault. After receiving a successful listing, it never even attempts to transfer anything. It issues the TYPE I command two times, then quits.
My best guess is that it is hard-coded for expecting a definite reply to the TYPE I command (Response code + text) and will not accept any other string. However, that is lazy coding and just plain wrong. The only part of the response to TYPE I that matters is the response code (200), the rest is only for humans. Change your app to only check the response code and ignore the text string (as the text varies between servers).
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Post Reply