FileZilla Server Log Odd entries - WeOnlyDo Discussion board

FileZilla Server Log Odd entries (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Ogedei, Friday, February 22, 2008, 23:29 (5917 days ago)

Hello all

Below you will find an excerpt from a FileZilla Server Log. Note that the GetFile function is getting both full paths. Why is there an attempt to change the working directory including the file and then one without the file? I think this behavior is causing the firewall of this server to close my connection after downloading around 100 files.

Please advise

(003774) 2/22/2008 9:03:52 AM - compiqftp (76.220.127.143)> 250 File deleted successfully
(003774) 2/22/2008 9:03:52 AM - compiqftp (76.220.127.143)> TYPE I
(003774) 2/22/2008 9:03:52 AM - compiqftp (76.220.127.143)> 200 Type set to I
[color=#00CC00](003774) 2/22/2008 9:03:52 AM - compiqftp (76.220.127.143)> CWD /export/images/45644001.TIF
(003774) 2/22/2008 9:03:52 AM - compiqftp (76.220.127.143)> 550 CWD failed. /export/images/45644001.TIF : directory not found.[/color]
(003774) 2/22/2008 9:03:53 AM - compiqftp (76.220.127.143)> CWD /export/images
(003774) 2/22/2008 9:03:53 AM - compiqftp (76.220.127.143)> 250 CWD successful. /export/images is current directory.
(003774) 2/22/2008 9:03:53 AM - compiqftp (76.220.127.143)> SIZE 45644001.TIF
(003774) 2/22/2008 9:03:53 AM - compiqftp (76.220.127.143)> 213 37710
(003774) 2/22/2008 9:03:53 AM - compiqftp (76.220.127.143)> PASV
(003774) 2/22/2008 9:03:53 AM - compiqftp (76.220.127.143)> 227 Entering Passive Mode (10,20,21,1,10,139)
(003774) 2/22/2008 9:03:53 AM - compiqftp (76.220.127.143)> RETR 45644001.TIF
(003774) 2/22/2008 9:03:53 AM - compiqftp (76.220.127.143)> 150 Connection accepted
(003774) 2/22/2008 9:03:53 AM - compiqftp (76.220.127.143)> 226 Transfer OK
(003774) 2/22/2008 9:03:56 AM - compiqftp (76.220.127.143)> DELE /export/images/45644001.TIF
(003774) 2/22/2008 9:03:56 AM - compiqftp (76.220.127.143)> 250 File deleted successfully
[color=#abcdef]Text[/color]

Re: FileZilla Server Log Odd entries

by woddrazen, Friday, February 22, 2008, 23:57 (5917 days ago) @ Ogedei

Hi Ogedei,


Actually I don't think this is reason. for your problem. wodFpDLX cannot be sure which is right path so first try using full path including filename and if that failed than use path without filename. Some folder could have same name as filename so this is needed.

Any chance you can give us some instruction how to duplicate your problem? We will try to fix it if we can duplicate it somehow.

Also are you using latest 2.8.0.409 version of wodFtpDLX? You can check version using wodFtpDLX Version Property.

Let us know how it goes.


Regards,
Drazen

Re: FileZilla Server Log Odd entries

by ogedei, Saturday, February 23, 2008, 00:17 (5917 days ago) @ woddrazen

First do you think you can change your forum post to not lose everything that is typed when an error occurs?

version 1.2.2.90

The client is using Sonicwall firewall and fileZilla ftp server.

I am connecting to the site
performing a list dir
looping through the list and checking each filename against a regular expression
passing the full not relative path to the GetFile function per the help files
I can download and delete files.

After sometime the firewall is closing my connection thinking I am performing a DoS and I think it might be the number of 550's being returned.

So why do you have to try both to do a getFile isnt there a getDir that would handle a directory? Otherwise the filename should be known.

Re: FileZilla Server Log Odd entries

by woddrazen, Saturday, February 23, 2008, 12:34 (5916 days ago) @ ogedei

Ogedei,


550 error usually means: Requested action not taken. File unavailable (e.g., file not found, no access).

Can you check that correct path is pass to GetFile Method? Did you receive some error in wodFtpDLX.NET?

I have tried to duplicate your problem on my side but didn't have luck. You should try to run your application while Sonicwall firewall is disabled to be sure that firewall cause problem here.

Also please send us FtpReply from FtpReply Event:

You should add this code in FtpReply Event:
[code]
Private Sub Ftp1_FtpReplyEvent(ByVal Sender As Object, ByVal Args As WeOnlyDo.Client.FtpReplyArgs) Handles Ftp1.FtpReplyEvent
Console.WriteLine(Args.Command + + Args.ReplyText)
End Sub
[/code]
Maybe you should send logs to techsupport@weonlydo.com if you have problem with our forum.

Before GetFile is issued wodFtpDLX.NET need to open folders where that file exist. So this is a reason why we need to issued CWD command. Problem with directory not found error from FileZilla Server log I think I have explained already.

Also please update wodFtpDLX.NET to latest 1.2.7.110. You have much old version. Maybe we have fix your problem and you will not have it with latest version.

In order to get update for our product, please go to:

http://www.weonlydo.com/index.asp?update=1

This is automated process. Make sure you use same email address that is registered with our system, one you used when you have purchased the product.


Drazen