CFFTP to IIS5 FTP Server Does not List contents of Folders with Long File Names
Posted on 2003-11-21
I have a page I am working on that accesses an FTP server where folders and files have long file names with spaces in them. I need to be able to access them, but when I use the CFFTP command to list the contents of a folder with spaces in the name, it does not return anything. This does not happen with folders that have no spaces in them. I am using Coldfusion MX 6.1 with Dreamweaver MX 2004 on a Windows 2000 Server running the native webserver that comes with Coldfusion (for testing purposes, production server is IIS5).
I stress that this is only a problem with connecting to an IIS FTP server. This does not happen if I am using a FileZilla as my FTP server. I need to use IIS (or something similar) that will use the username/password provided at the FTP login as the authentication for the filesystem, too (any recommendations gladly considered).
My code looks like this (some variables changed to protect internal security, but conventions left the same):
directory="/Oggs Files/Vacation to the Tarpits/"
How do I get it so that it will read folder names that have spaces in it? I have been unable to find anything to help solve the problem all day.
SRG Partnership Architects