Spaces in folder names on server
soapdog at mac.com
Mon Nov 13 14:21:19 EST 2006
replace " " with "\ " in tFileReference...
unix usually uses "\ " to escape spaces in strings, it might work.
On Nov 13, 2006, at 7:19 PM, J. Landman Gay wrote:
> I have a cgi that needs to work with files that are in folders
> whose names contain spaces. I've written a test cgi that simply
> returns whether a file or folder exists. It says this folder exists:
> It says this folder does not exist:
> /home/folder1/folder 2
> The problem, I believe, is the space in the folder name. I have
> tried substituting spaces with %20, URL-encoding them, and escaping
> them this way:
> /home/folder1/folder\ 2
> but none of it works. How would I reference these?
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode