On Tue, 31 Oct 2006 21:08:37 -0800, "Harondel J. Sibble" <[EMAIL PROTECTED]> wrote:
> Anyhow the problem is that one of the Mac OSX > users using CyberDuckie Ftp client created a > folder with a preceeding space in the folder > name, like this " foldername", this then made > subsequent access to this folder fail with an > error like > > CWD FOLDERNAME > Response: 550 FOLDERNAME: The system cannot > find the file specified. Error: Could not > retrieve directory listing As you can see, the server is stripping off the leading space from the folder name. The file system on Windows machines allows leading spaces in file/folder names, as does the FTP protocol itself. In fact, RFC 959 (http://www.ietf.org/rfc/rfc0959.txt) is very specific on the syntax of commands and arguments, ie: 5.3.1. FTP COMMANDS CWD<SP><pathname><CRLF> 5.3.2. FTP COMMAND ARGUMENTS <char> ::= any of the 128 ASCII characters except <CR> and <LF> <string> ::= <char> | <char><string> <pathname> ::= <string> As you can see, a pathname is allowed to have spaces in it. There is no limitaion saying the spaces cannot be in the front of the pathname. If the server is stripping them out, then the server is buggy and needs to be reported and fixed, period. > How does one stop this from happening??? Unless you can switch to a less buggy server, or to a client that does not permit the user to specify leading spaces, then you don't. Gambit ____________________________________________________________________________________ Get your email and see which of your friends are online - Right on the New Yahoo.com (http://www.yahoo.com/preview) -- ---------------------------------------- The WIN-HOME mailing list is powered by L-Soft's renowned LISTSERV(R) list management software. For more information, go to: http://www.lsoft.com/LISTSERV-powered.html
