Can I change the permission settings when I upload a file onto an FTP server?

I want to upload a file onto an FTP server, but I would also like to change the permission settings when I do. Is this possible with your controls?

Date Entered: 03/07/2000    Last Updated: 06/11/2004

Yes, if the FTP server in question supports it. Use the .Command property as follows:

FTP1.Command = "SITE chmod " + "<permission mask>" + " " + filename

(<permission mask> is the argument to chmod - e.g. "755")


We appreciate your feedback.  If you have any questions, comments, or suggestions about this entry please contact our support team at kb@nsoftware.com.