Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / .NET SDK / December 2004

Tip: Looking for answers? Try searching our database.

HTML FORM POSTING

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
vassilis - 23 Dec 2004 14:27 GMT
How to programmatically post a file over http through an html form (including
more fields than the file itselft) ?
Joerg Jooss - 24 Dec 2004 08:53 GMT
> How to programmatically post a file over http through an html form
> (including more fields than the file itselft) ?

System.Net.WebClient.UploadFile()

Cheers,

Signature

Joerg Jooss
www.joergjooss.de
news@joergjooss.de

vassilis - 27 Dec 2004 13:31 GMT
Thanks for your quick answer, but this will not allow me to add more files in
the same post request, neither it will allow me to add more post fields (POST
not GET) in the same request. If I am missing something, please help.

Thanks again.

> > How to programmatically post a file over http through an html form
> > (including more fields than the file itselft) ?
>
> System.Net.WebClient.UploadFile()
>
> Cheers,
Joerg Jooss - 27 Dec 2004 20:27 GMT
> Thanks for your quick answer, but this will not allow me to add more
> files in the same post request, neither it will allow me to add more
> post fields (POST not GET) in the same request. If I am missing
> something, please help.

Yes to all objections -- in this case, you need a full-fledged
multipart/form-data processor. There are open source solutions on the Web,
but unfortunately I don't have a URL at hand right now. Or you write one
yourself using HttpWebRequest ;-)

Cheers,

Signature

Joerg Jooss
www.joergjooss.de
news@joergjooss.de


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.