Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

FTP Publish and file permissions

I found a possible solution for the file permission problem for Unix/Linux Servers. Maybe it is interesting for other people as well. Just define FTP.EXE as external program "after copy" for the publish location properties like follows:

ftp -i -s:upload.in

File upload.in should contain appropriate FTP commands like:

open www.my_site.com
my_ftpuser_name
my_ftp_password
cd cgi-bin
quote SITE chmod 755 my_script.cgi
bye

It is necessary just for first publishing, I know, but it can help to avoid lots of trouble ...

Uwe Holz
Saturday, January 03, 2004

*  Recent Topics

*  Fog Creek Home