Opened 10 years ago

Closed 10 years ago

Last modified 6 years ago

#5146 closed Bug report (rejected)

Directory Listing Fails on Windows 2008 IIS ftp server

Reported by: Chris Sutcliffe Owned by:
Priority: normal Component: FileZilla Client
Keywords: Cc:
Component version: Operating system type: Windows
Operating system version: XP Professional

Description

When I attempt to connect to Windows 2008 IIS ftp server I manage to connect, however when FileZilla attempts to list the directory contents it fails. Settings the debug level to 4 I see:

Command: LIST
Trace: CTransferSocket::OnConnect
Trace: CTransferSocket::OnConnect
Trace: CFtpControlSocket::OnReceive()
Response: 425 Can't open data connection.
Trace: CFtpControlSocket::TransferParseResponse()
Trace: code = 4
Trace: state = 4
Trace: CFtpControlSocket::ResetOperation(2)
Trace: CControlSocket::ResetOperation(2)
Trace: CFtpControlSocket::ParseSubcommandResult(2)
Trace: CFtpControlSocket::ListSubcommandResult()
Trace: state = 3
Trace: CFtpControlSocket::ResetOperation(2)
Trace: CControlSocket::ResetOperation(2)
Error: Failed to retrieve directory listing
Trace: CFileZillaEnginePrivate::ResetOperation(2)

Using the Windows FTP client, I am able to connect and list the directory contents without any error.

I'm not sure if it's relevant or not, but the user ID I have to use includes the domain (i.e. username = <domain>\<user ID>).

Attachments (1)

FileZilla_debug.log (3.9 KB) - added by Chris Sutcliffe 10 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 10 years ago by Tim Kosse

Status: newmoreinfo

Please attach complete logs, snippets are of no use.

Changed 10 years ago by Chris Sutcliffe

Attachment: FileZilla_debug.log added

comment:2 Changed 10 years ago by Chris Sutcliffe

Status: moreinfonew

Attached is the full debug log, let me know if you need any additional information.

comment:3 Changed 10 years ago by Tim Kosse

Resolution: rejected
Status: newclosed

Status: Invalid character sequence received, disabling UTF-8. Select UTF-8 option in site manager to force UTF-8.

Your server is violating the FTP specifications, see http://wiki.filezilla-project.org/Character_Set
While this isn't directly related to the issue at hand, there's a very high probability that there's further brokenness with your server.

Regarding the original issue, the log is inconclusive. Most likely there's some broken router and/or firewall that is interrupting the connection. Please read http://wiki.filezilla-project.org/Network_Configuration for details.

comment:4 Changed 10 years ago by Chris Sutcliffe

The UTF-8 issue actually turned out to be the culprit. I forced it to UTF-8 for this server (which has a welcome message that contains both English and French) and I am able to connect and list the directory contents. Could this be a bug when FileZilla encounters mixed charsets?

Irregardless, I'm up and running now.

Thank you for your time!

Chris

comment:5 Changed 10 years ago by Tim Kosse

No, cannot be a bug since not using UTF-8 violates the FTP standard. Whatever happens in that case is plain undefined. Everything is possible, pink bunnies and unicorns, you name it.

comment:7 Changed 10 years ago by Tim Kosse

Component: FileZilla ServerFileZilla Client
Operating system version: Windows 2008XP Professional
Priority: blockernormal
Resolution: rejected
Status: reopenedclosed

@HammerNL:

You do not have a similar issue, you have an entirely different issue. Please do not hijack tickets.

You didn't even notice that the ticket is for FileZilla Client while you are reporting a problem with the server.

Read before you post.

Note: See TracTickets for help on using tickets.