Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FTP application 1

Status
Not open for further replies.

tuzojazz

Programmer
Dec 26, 2005
58
MX
Hi:

I need to write a FTP application to download a file from a remote server.

I found the "WebRequestMethods.Ftp Class" in microsoft.com but there are not examples.

How can I use this class or how can I write my FTP application?

Is there another class that can I use?

Thanks!
 
Hi, I suppose it depends on how much of an FTP client you have to write. You may want to look at the FtpWebRequest class in v2 of .NET also, you'll need to read the FTP RFC 959 so you can send and handle the appropriate commands.

On the other hand if you know the name and location of the file you need you may be able to use a HttpWebRequest to get your file, which would make your life a LOT easier.

Woogoo

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top