Jump to content


Photo

Directory problem ...


This topic has been archived. This means that you cannot reply to this topic.
13 replies to this topic

#1 Syndicate

Syndicate
  • Members
  • 15 posts

Posted 13 April 2004 - 01:34 PM

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

#2 mb

mb

    Developer

  • Administrators
  • 11520 posts

Posted 13 April 2004 - 11:41 PM

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

Thanks
-Mat

#3 Syndicate

Syndicate
  • Members
  • 15 posts

Posted 14 April 2004 - 10:53 AM

how to get the raw list ?

#4 mb

mb

    Developer

  • Administrators
  • 11520 posts

Posted 14 April 2004 - 11:49 AM

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

-Mat

#5 Syndicate

Syndicate
  • Members
  • 15 posts

Posted 14 April 2004 - 05:23 PM

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 )

#6 mwhitlock

mwhitlock
  • Members
  • 8 posts

Posted 14 April 2004 - 09:45 PM

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

#7 Syndicate

Syndicate
  • Members
  • 15 posts

Posted 14 April 2004 - 10:25 PM

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 ..

#8 mwhitlock

mwhitlock
  • Members
  • 8 posts

Posted 14 April 2004 - 10:29 PM

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.

#9 Syndicate

Syndicate
  • Members
  • 15 posts

Posted 14 April 2004 - 11:07 PM

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

#10 mwhitlock

mwhitlock
  • Members
  • 8 posts

Posted 14 April 2004 - 11:16 PM

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/...ext-mlst-16.txt

#11 mb

mb

    Developer

  • Administrators
  • 11520 posts

Posted 15 April 2004 - 10:43 AM

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

#12 Syndicate

Syndicate
  • Members
  • 15 posts

Posted 15 April 2004 - 06:04 PM

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

#13 mwhitlock

mwhitlock
  • Members
  • 8 posts

Posted 16 April 2004 - 01:35 AM

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.

#14 DataBitz

DataBitz
  • Members
  • 1 posts

Posted 21 April 2004 - 07:03 AM

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"