Results 1 to 2 of 2

Thread: Changing File Permissions Using VB.Net

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2011
    Posts
    1

    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!

  2. #2
    PowerPoster Radjesh Klauke's Avatar
    Join Date
    Dec 2005
    Location
    Sexbierum (Netherlands)
    Posts
    2,244

    Re: Changing File Permissions Using VB.Net

    I also wonder how to do this. Can't find any valuable info on the net.


    If you found my post helpful, please rate it.

    Codebank Submission: FireFox Browser (Gecko) in VB.NET, Load files, (sub)folders treeview with Windows icons

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width