FTP'ing in c# app...

  • Thread starter Thread starter Daniel Bass
  • Start date Start date
D

Daniel Bass

Hey,

There's a client requirement to have my application send some files to
another server on the same network through FTP.

All I need to do is connect to the provided server and port, with the
provided username and password, then upload some files in binary mode, then
disconnect.

Is there a way in .Net to do this?
Any help would be appreciated.

Thanks.
Daniel
 
There's a client requirement to have my application send some files to
another server on the same network through FTP.

All I need to do is connect to the provided server and port, with the
provided username and password, then upload some files in binary mode, then
disconnect.

Is there a way in .Net to do this?
Any help would be appreciated.

I would suggest using Indy:

http://www.indyproject.org
 
It should also be noted that FTP support will be provided out of the box
in the next release of .NET (there is an FtpWebRequest and FtpWebResponse
class I believe).

Hope this helps.

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

Daniel Bass said:
Cheers Jon
 
Nicholas Paldino said:
It should also be noted that FTP support will be provided out of the
in the next release of .NET (there is an FtpWebRequest and
FtpWebResponse class I believe).

Thats in the next release which is a ways off - its also likely to be quite
basic as the other support is in .NET now.


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Make your ASP.NET applications run faster
http://www.atozed.com/IntraWeb/
 
I tried out the Indy and for the first time since I can remember, I read a
little bit of documentation, plugged in what I thought looked to make sense
when compared with some of the intro help stuff, and it worked no problem!

Excellent! ;o)
 
Daniel Bass said:
I tried out the Indy and for the first time since I can remember, I read a
little bit of documentation, plugged in what I thought looked to make sense
when compared with some of the intro help stuff, and it worked no problem!

Excellent! ;o)

Very cool. :)


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Develop ASP.NET applications easier and in less time:
http://www.atozed.com/IntraWeb/
 
Back
Top