FTP commands: Delete and Rename

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • teo

    FTP commands: Delete and Rename

    hallo

    I'm with vb net fx 2.0 vs2005

    I'have difficulties to find some functions that allow me
    to delete and rename files and folders
    via FTP

    I'm good with
    My.Computer.Net work.UploadFile
    My.Computer.Net work.DownloadFi le
    but I need the two functions I mentioned above too

    They appear to be very common tasks,
    but I have no clue how to accomplish those tasks




  • =?Utf-8?B?RmFtaWx5IFRyZWUgTWlrZQ==?=

    #2
    RE: FTP commands: Delete and Rename

    You will want to start with some code like this:

    Dim fwr As New System.Net.FtpW ebRequest
    fwr.Method = System.Net.WebR equestMethods.F tp.DeleteFile

    An example of a more complete program is available at
    http://www.codeproject.com/KB/IP/FtpClient.aspx.


    "teo" wrote:
    hallo
    >
    I'm with vb net fx 2.0 vs2005
    >
    I'have difficulties to find some functions that allow me
    to delete and rename files and folders
    via FTP
    >
    I'm good with
    My.Computer.Net work.UploadFile
    My.Computer.Net work.DownloadFi le
    but I need the two functions I mentioned above too
    >
    They appear to be very common tasks,
    but I have no clue how to accomplish those tasks
    >
    >
    >
    >
    >

    Comment

    Working...