Download a file from a FTP server and put it in a stream...

Hi

I have a ftp server lets say ftp://myFtp

I have a file named 1.txt

username: BogN

passworrd: 1234

 

How can i get the file into a stream

 



Answer this question

Download a file from a FTP server and put it in a stream...

  • Eduardo Sobrino

    All of these can be done throught the
    System.Net.FtpWebRequest.

    Please consult the MSDN or just search the web and you will
    find a ton of samples.



  • Joao Matias

    I have another question...

    how can i save this file localy on my comuter

    (C#)


  • Jan Alexander

    I have another question...

    How can i upload a file from my local computer, in binary mode and change the site propert


  • JohannSinuhe

    You can upload the file with FtpWebRequest but I don't think you can update the file permissions/properties.

  • Download a file from a FTP server and put it in a stream...