FTP and Internet

Hi,

I have been able to successfully download and upload files from my FTP server, but I am still having some problems. For one, I cannot overwrite any files, and also it is lacking deleting, moving, copying, making new folders, etc.. If you could tell me how to do all these that would be great.

I am also wondering how I would be able to find the exact URL that the user is at when the website is running in Internet Explorer.

Thanks in advance,

Tanner



Answer this question

FTP and Internet

  • Perisse

    Is this an Internet Explorer related question or managed networking API related question

  • F. Gsell

    For reading from a stream, I use this code...

    Dim URL As String

    Dim Creds As New NetworkCredential

    Creds.Domain = "ftp.optifront.com"

    Creds.UserName = "main"

    Creds.Password = "*blocked*"

    Dim WC As New WebClient

    WC.Credentials = Creds

    Dim D As String

    Dim SR As StreamReader = New StreamReader(WC.OpenRead(URL))

    D = SR.ReadToEnd

    SR.Close()

    And this is a managed network API question, I was just curious about the internet explorer one.

    Now on topic again, I'm wondering how to delete files over the FTP just like the program SmartFTP. I also want to know how to move files, copy, create folders, etc.. I don't believe it's possible with the web client, so if anyone knows another way to do so please post it.

    Thanks,

    Tanner


  • Guilherme Cestarolli Seleguim

    care to show us the code you are using - so we can see the class / methods that you are using


  • FTP and Internet