FTP question

  • Thread starter Thread starter jiangyh
  • Start date Start date
J

jiangyh

hi there:


I have a task that need to implement upload file or download file from
some or other ftp server.And I need implement it by C# WebApplication.How to
achieve this.

Thanks for any advices.
Thanks a lot.
jiangyh
 
There is no support for FTP in .NET in 1.1. You will have to call the
functions in WinInet through the P/Invoke layer in order to do this.
However, in a server environment, this isn't recommended, as those libaries
are not meant to handle a large volume of requests.

In .NET 2.0, there is support in the framework for the FTP protocol in
the form of a FtpWebRequest and FtpWebResponse class. Until then, I
recommend you use a third party library, such as the Indy project (watch for
line wrap):

http://www.indyproject.org

Hope this helps.
 
hi Nicholas Paldino:

I have another question that what's means about WinInet.

Thanks a lot.
jiangyh


Nicholas Paldino said:
There is no support for FTP in .NET in 1.1. You will have to call the
functions in WinInet through the P/Invoke layer in order to do this.
However, in a server environment, this isn't recommended, as those libaries
are not meant to handle a large volume of requests.

In .NET 2.0, there is support in the framework for the FTP protocol in
the form of a FtpWebRequest and FtpWebResponse class. Until then, I
recommend you use a third party library, such as the Indy project (watch for
line wrap):

http://www.indyproject.org

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

jiangyh said:
hi there:


I have a task that need to implement upload file or download file from
some or other ftp server.And I need implement it by C# WebApplication.How
to achieve this.

Thanks for any advices.
Thanks a lot.
jiangyh
 
hi Nicholas Paldino :

Do you know some free resource about upload or download from ftp server.


Nicholas Paldino said:
There is no support for FTP in .NET in 1.1. You will have to call the
functions in WinInet through the P/Invoke layer in order to do this.
However, in a server environment, this isn't recommended, as those libaries
are not meant to handle a large volume of requests.

In .NET 2.0, there is support in the framework for the FTP protocol in
the form of a FtpWebRequest and FtpWebResponse class. Until then, I
recommend you use a third party library, such as the Indy project (watch for
line wrap):

http://www.indyproject.org

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

jiangyh said:
hi there:


I have a task that need to implement upload file or download file from
some or other ftp server.And I need implement it by C# WebApplication.How
to achieve this.

Thanks for any advices.
Thanks a lot.
jiangyh
 
Back
Top