Spaces in folder names on server

Dave Cragg dcragg at
Mon Nov 13 18:45:51 EST 2006


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
  ## 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".


More information about the Use-livecode mailing list