|
-
Mar 22nd, 2011, 09:17 AM
#1
Thread Starter
New Member
Changing File Permissions Using VB.Net
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!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|