Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > .NET

Reply
 
LinkBack Thread Tools
Old June 27th, 2006, 06:20 AM   #1
New Member
 

Join Date: Jun 2006
Location: israel
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 danal is on a distinguished road
Posting files to another server

Hi,

I am writing a C# asp.net application.

How can i post files to a web page? Can you please give an example?

The user can choose up to 3 files (using "Browse") and press a "Load" button.

I am trying to do that using:

HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create(destServerUrl);

But, the files that arrive to my destination server are empty. When i try to get "context.Request.Files.Count" in the destination server i get 0.

How do i do that?

Thanks,
Dana
danal is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
posting , files , server


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Editing server files Daniel The Café 6 November 19th, 2007 01:26 PM
unzipped files on FTP server zJunior Web Hosting and Domains 20 September 24th, 2007 12:47 PM
How to upload files to a Web Server in FrontPage 2002 jessina Your Design and Layout 2 April 7th, 2007 08:43 AM
ghost in server changing my files!!!!! mikedz Your Design and Layout 1 February 22nd, 2007 11:56 PM
ASP Include Files (SSI or Server Side Includes) administrator Classic ASP 3 August 15th, 2003 10:51 AM


Search Engine Optimization by vBSEO 3.2.0 RC8