Bug with folders beginning with "- "

Hi,

There appears to be a bug in SmartFTP related to directories (and perhaps files?) beginning with "- ".

I am assured by the site operator that other people do not have similar problems.

Here is an anonymised logfile showing the problem:

(edit to add: both build 976 and 980)


Resolving host name aa.bb.cc.dd...
Connecting to (aa.bb.cc.dd) -> IP: aa.bb.cc.dd PORT: 8008
Connected to (aa.bb.cc.dd) -> Time = 410ms
Socket connected waiting for login sequence.
220 ProFTPD 1.2.5 Server (xxxxxx FTP) [aa.bb.cc.dd]
USER xxxxxxx
331 Password required for xxxxxxx.
PASS (hidden)
230-Welcome to ...

230-enjoy
230 xxxxxxx, account expires 200402xxxxxxx. (41 of 5000 max logins)
SYST
215 UNIX Type: L8
FEAT
500 FEAT not understood.
REST 100
350 Restarting at 100. Send STORE or RETRIEVE to initiate transfer.
REST 0
350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer.
PWD
257 "/" is current directory.
TYPE A
200 Type set to A.
PASV
227 Entering Passive Mode (aa,bb,cc,dd,164,232).
Opening data connection IP: aa,bb,cc,dd,164,232 PORT: 42216.
LIST -aL
150 Opening ASCII mode data connection for file list
376 bytes received successfully. (376 B/s) (00:00:01).
226 Transfer complete.
CWD /download
250 CWD command successful.
PWD
257 "/download" is current directory.
PASV
227 Entering Passive Mode (aa,bb,cc,dd,172,103).
Opening data connection IP: aa,bb,cc,dd,172,103 PORT: 44135.
LIST -aL
150 Opening ASCII mode data connection for file list
10238 bytes received successfully. (10.00 KB/s) (00:00:01).
226 Transfer complete.
CWD /download/- Limelight Club - Crewe
550 /download/- Limelight Club - Crewe: No such file or directory
PWD
257 "/download" is current directory.
CWD /download/- Reading Fest
550 /download/- Reading Fest: No such file or directory

Hello ..

As you can easily see from the log. The problem is with the server.
Messages starting with a 3 digit number are server replies.

As workarround you can try a manual directory change and write:
"- limelight club - crewe"