Directory problem ...

When I connect to my ftp server the directory tree looks like this:

- ip.ip.ip.ip
C: ( XXX MB Free )
D: ( XXX MB Free )
E: ( XXX MB Free )
...

When I try to go into a directory, I get this error :

CWD /C: ( 311 MB free )
550 CWD command failed: "C"

Can this be fixed ? It used to work on my other ftp client.. But I prefer smartftp ..

Thanks in advance

Please post the raw listing of the (root) directory.

Thanks
-Mat

how to get the raw list ?

Right mouse click the folder where you see the C: etc directories, then select "Show Raw Directory Listing" from the context menu.

-Mat

drw-rw-rw- 1 user group 0 Jan 01 00:00 C: ( 311 MB free )
drw-rw-rw- 1 user group 0 Jan 01 00:00 D: ( DVD : Empty )
drw-rw-rw- 1 user group 0 Jan 01 00:00 E: ( 591 MB free )
drw-rw-rw- 1 user group 0 Jan 01 00:00 F: ( 350 MB free )
drw-rw-rw- 1 user group 0 Jan 01 00:00 X: ( 745 MB free )
drw-rw-rw- 1 user group 0 Jan 01 00:00 Y: ( 749 MB free )
drw-rw-rw- 1 user group 0 Jan 01 00:00 Z: ( 745 MB free )

Looks to me like a poor server implementation. SmartFTP did what it was supposed to.

Looks to me like a poor server implementation.  SmartFTP did what it was supposed to.

that doesn't matter, it works with other ftp clients, so it should also work with smartftp ..

The server is specifically reporting the name of the folder as "C: ( 311 MB free )" and that is exactly the directory to which SmartFTP is attempting to change.

I side with SmartFTP on this one. The RFCs need to be followed. Get a better FTP server.

i saw my flashfxp do the same thing WORKING just without the / before C: ...

My apologies. Does the FTP server report that it supports "TVFS" in its FEAT response? If it doesn't, then SmartFTP shouldn't assume that it can prepend the folder name with a '/' and should be fixed. SmartFTP should only construct absolute server paths on FTP servers that support TVFS (trivial virtual file store).

For more information on TVFS, refer to the MLST proposed FTP extension internet draft: http://www.ietf.org/internet-drafts/dra ... lst-16.txt

Syndicate:

Please also post the log from the FTP session.

What kind of FTP server software is running on this server?

My recommendation is to use another FTP server software. The server sends the directory listing in the *NIX format but doesn't understand CWD commands with unix style paths.

-Mat

It's my XBOX running the Avalaunch dashboard...

SmartFTP (failing) log:

220 The Avalaunch FTP system -- enter user name
USER xbox
331 Password required for xbox
PASS (hidden)
230 user xbox logged in.
SYST
215 UNIX emulation by Avalaunch 0.47.5
FEAT
502 Command not implemented, superfluous at this site.
REST 100
350 Restarting at 100. Send STORE or RETRIEVE.
REST 0
350 Restarting at 0. Send STORE or RETRIEVE.
PWD
257 "/" is current directory.
TYPE A
200 ASCII type transfers selected
PASV
227 Entering Passive Mode (192,168,123,100,8,0)
Opening data connection IP: 192,168,123,100,8,0 PORT: 2048.
LIST -aL
150 Opening ASCII mode data connection for /bin/ls.
525 bytes received successfully. (525 B/s) (00:00:01).
226 Transfer complete.
CWD /C: ( 311 MB free )
550 CWD command failed: "C"

FlashFXP (working) log:

220 The Avalaunch FTP system -- enter user name
USER xbox
331 Password required for xbox
PASS (hidden)
230 user xbox logged in.
SYST
215 UNIX emulation by Avalaunch 0.47.5
REST 100
350 Restarting at 100. Send STORE or RETRIEVE.
REST 0
350 Restarting at 0. Send STORE or RETRIEVE.
PWD
257 "/" is current directory.
TYPE A
200 ASCII type transfers selected
PASV
227 Entering Passive Mode (192,168,123,100,8,1)
LIST
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.
List Complete: 525 bytes in 0,16 (0,51 KBps)
CWD C: ( 311 MB free )
250 CWD command successful.
PWD
257 "/C:/" is current directory.
PASV
227 Entering Passive Mode (192,168,123,100,8,2)
LIST
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.
List Complete: 1 KB in 0,13 (1,24 KBps)

Should work ... :s

That server does not follow the specs. It lists the directory name as "C: ( 311 MB free )" but then when you change to that directory, it says your current directory is "/C:/". Bad, bad implementation. It even responds to the SYST command with "UNIX", so SmartFTP is totally correct in assuming it can construct absolute paths in the Unix style.

Had the same problem and it sucks that you can use SmartFTP for everything except Avalaunch!

However you can prevent Avalaunch from trying to show the freespace by modifying the avalaunch.xml file, then it works fine.

Search for the following line in avalaunch.xml
<ftpserver enabled="1" allowboostmode="1" showrootfreespace="1">

Then change showrootfreespace="1" to showrootfreespace="0"