ftp lib and setting unix permissions

Frank Leahy frank at backtalk.com
Wed Oct 6 12:10:39 EDT 2004


Does anyone know if there's a way to tell the ftp library to 
automatically set permissions on directories and files it creates?  
Maybe something like "set ftpLibUnixPermissions to 666"?

The problem is that while you can use "put URL ftp://..." to create a 
directory or file, it appears you have to use the low level ftp 
commands to CWD to the directory and set permissions on the directories 
and files using CHMOD.  Which wouldn't be so hard, except it appears 
that the ftp lib leaves you at the ftp home directory after creating a 
directory or file, not in the directory the directory or file was 
created in.

Thanks,
-- Frank

Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/



More information about the use-livecode mailing list