jacque,

try:

replace " " with "\ " in tFileReference...

unix usually uses "\ " to escape spaces in strings, it might work.

cheers
andre

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:

/home/folder1/folder2

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         |     [EMAIL PROTECTED]
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to