Spaces in folder names on server

Dave Cragg dcragg at lacscentre.co.uk
Mon Nov 13 18:45:51 EST 2006


Jacque

Is this worth trying.

put the defaultFolder into tSavedDef
put "/home/folder1/folder 2" into tNewDef
set the defaultFolder to tNewDef
if tNewDef = the defaultFolder then
   ## there is a folder
else
  ## there isn't a folder
end if
set the defaultFolder to tSavedDef

This kind of mirrors what you have to do on an FTP server to get a  
listing of a folder whose name contains spaces. I was wondering if  
the file system on your server behaves in a similar fashion, and will  
let you set the defaultFolder to a name with a space, but not work  
with "there is".

Cheers
Dave



More information about the Use-livecode mailing list