views:

41

answers:

3

asp.net provides file upload control.... now if i want to upload files on my server, do i need to manage the file transfer protocall for that?

+1  A: 

No. It does everything for you.

Noon Silk
i m confused with file upload control and file transfer protocall... .net 2.0 provides the FTPWebRequest and FTPWebResponse classes for file uploading...why is it given sepratly? can you please tell me? thanks
Those are for FTP; the upload control does it via HTTP (as posted above).
Noon Silk
They'd be for uploading to other servers.
Mark Holland
+2  A: 

No, the control uses the HTTP protocol to upload files to your Web server.

Dan
A: 

On submit simply inspect the properties of the fileupload control: HasFile and PostedFile are the main two.

Mark Holland