Question Changing File Permissions

mysilmaril

New member
Joined
Jul 17, 2010
Messages
3
Programming Experience
5-10
I've added an FTP client to a batch publishing program that I wrote about a year ago. The batch program "publishes" CAD files from "Pro/E" to "eDrawings". Upon publishing, some of "eDrawings" files are automatically uploaded to an external server via the newly written FTP client.

The publisher and FTP client are working great.

I'd like to add functionality that automatically changes the permissions on the files I'm uploading to our unix server (RHEL5). When I do this via SSH, I simply utilize a chmod command (i.e. chmod 0755 file.htm).

I'm using VB.Net's DirectCast in my FTP Client.

Is it possible to change the permissions on the files I'm uploading via FTP once they're on the server as part of the file uploading process?

This sort of thing is very easy to do in Perl or PHP. I've not done this before using VB.Net, and I haven't been able to find a solution via google.

Thanks! :)
 
Back
Top