.NET v2.0: FTP Classes are now Provided

There are now a couple of FTP-specific classes in System.Net: FtpWebRequest and FtpWebResponse.

The FtpWebRequest class has a Method property that is set to a value from the FtpMethods structure:

  • AppendFile
  • DeleteFile
  • DownloadFile
  • GetFileSize
  • ListDirectory
  • UploadFile
Published Tuesday, October 28, 2003 10:17 PM by PaulWilson

Comments

# re: .NET v2.0: FTP Classes are now Provided

What other new classes are there? I heard there is going to be a new toolbar for win forms that has more functionality? Have you had a change to look at that? I see a lot of information about new stuff for asp.net, but what about new windows controls?

thanks for the great information!
Paul

Tuesday, October 28, 2003 11:13 PM by Paul

# re: .NET v2.0: FTP Classes are now Provided

I haven't really spent any time looking at new Windows features, although I'm sure there are many. I noticed several new namespaces under System.Windows for instance, but I don't have my Whidbey machine with me right now to look them up.

Wednesday, October 29, 2003 8:18 AM by Paul Wilson

# re: .NET v2.0: FTP Classes are now Provided

The name FtpWebRequest suggests that its related to ASP.NET. But if I want to use it to ftp files across systems from Windows Forms or Services I could still use this. Right ?

Wednesday, October 29, 2003 1:44 PM by Srini M

# re: .NET v2.0: FTP Classes are now Provided

Yes, its in the System.Net namespace, so it doesn't even require a reference to the Web stuff, and it suspect it should work on XP Home as well.

Wednesday, October 29, 2003 1:53 PM by Paul Wilson

# re: .NET v2.0: FTP Classes are now Provided

Strange naming. FtpWebRequest?

Wednesday, October 29, 2003 6:39 PM by Anton

# re: .NET v2.0: FTP Classes are now Provided

Hi,using FtpWebRequest class can you write code to connect to remote FTP server and fetch files??????

Tuesday, November 04, 2003 2:08 AM by santy

# re: .NET v2.0: FTP Classes are now Provided

Yes -- that's what FTP is all about.

Tuesday, November 04, 2003 5:44 AM by Paul Wilson

# re: .NET v2.0: FTP Classes are now Provided

hi, do you know when the .net 2.0 will roll out? I need FtpWebRequest and FtpWebResponse now and I am wondering does it worth to create a version of my own?

Thanks!

cliff@arialsoftware.com

Wednesday, November 19, 2003 6:45 PM by cliff

# re: .NET v2.0: FTP Classes are now Provided

Late 2004 hopefully. So no time soon.

Wednesday, November 19, 2003 8:02 PM by Paul Wilson

# re: .NET v2.0: FTP Classes are now Provided

Damn, I saw your post and was relieved that they were finally adding that so I wouldn't have to create my own. Unfortunately I need it now rather than later, so I'll have to build my own anyways.

Wednesday, February 04, 2004 10:11 AM by Jamie

Leave a Comment

(required) 
(required) 
(optional)
(required)