Click here to Skip to main content
15,892,809 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Apache Server Information Pin
leckey12-Jul-07 17:10
leckey12-Jul-07 17:10 
QuestionDatabase connection problem Pin
matjame12-Jul-07 2:42
matjame12-Jul-07 2:42 
AnswerRe: Database connection problem Pin
Vasudevan Deepak Kumar12-Jul-07 23:57
Vasudevan Deepak Kumar12-Jul-07 23:57 
QuestionLoad a .net library Pin
pranu_1311-Jul-07 21:33
pranu_1311-Jul-07 21:33 
AnswerRe: Load a .net library Pin
Michael Sync11-Jul-07 23:15
Michael Sync11-Jul-07 23:15 
GeneralRe: Load a .net library Pin
pranu_1312-Jul-07 0:26
pranu_1312-Jul-07 0:26 
GeneralRe: Load a .net library Pin
Christian Graus12-Jul-07 10:07
protectorChristian Graus12-Jul-07 10:07 
QuestionReceiving posted file Pin
Brent Lamborn11-Jul-07 6:21
Brent Lamborn11-Jul-07 6:21 
I'm using System.Net.WebClient to upload files to my server. The client is a windows application, not a web app. I've attempted to POST to my aspx page using two methods in the WebClient class. The first UploadFileAsync works well, unless I POST a file larger than 4 mb. Here is the code in the aspx page to receive the posted file:

foreach (string f in Request.Files.AllKeys)<br />
{<br />
    HttpPostedFile file = Request.Files[f];<br />
    file.SaveAs("c:\\inetpub\\test\\UploadedFiles\\" + file.FileName);<br />
}



So I thought I would try using UploadDataAsynch instead to see if there is a similar issue with the size of the POST. My problem is that I don't know exactly how to receive the data in the POST on the web page and write it to file on the server when using UploadDataAsynch. I'm sure it is very simple code but it's eluding me at the moment. If any one has a suggestion, I'd appreciate it.






"Half this game is ninety percent mental." - Yogi Berra

If you can read thank a teacher, if you can read in English, thank a Marine.

AnswerRe: Receiving posted file Pin
Brent Lamborn11-Jul-07 8:16
Brent Lamborn11-Jul-07 8:16 
QuestionGet HTML Element properties in VBScript [modified - again] [modified] Pin
#realJSOP11-Jul-07 6:04
mve#realJSOP11-Jul-07 6:04 
Generalforum codes Pin
VonHagNDaz11-Jul-07 5:04
VonHagNDaz11-Jul-07 5:04 
GeneralRe: forum codes Pin
#realJSOP11-Jul-07 8:10
mve#realJSOP11-Jul-07 8:10 
GeneralRe: forum codes Pin
Rob Graham11-Jul-07 8:44
Rob Graham11-Jul-07 8:44 
GeneralRe: forum codes Pin
VonHagNDaz11-Jul-07 8:50
VonHagNDaz11-Jul-07 8:50 
GeneralRe: forum codes Pin
Christian Graus11-Jul-07 15:02
protectorChristian Graus11-Jul-07 15:02 
Questionsimple way Pin
kvijayajyothy11-Jul-07 0:11
kvijayajyothy11-Jul-07 0:11 
AnswerRe: simple way Pin
Sathesh Sakthivel11-Jul-07 0:15
Sathesh Sakthivel11-Jul-07 0:15 
AnswerRe: simple way Pin
Vasudevan Deepak Kumar11-Jul-07 3:22
Vasudevan Deepak Kumar11-Jul-07 3:22 
Questionasp development Pin
chandu_shar10-Jul-07 23:06
chandu_shar10-Jul-07 23:06 
AnswerRe: asp development Pin
Vasudevan Deepak Kumar10-Jul-07 23:24
Vasudevan Deepak Kumar10-Jul-07 23:24 
QuestionDocument Referrer Pin
L Viljoen10-Jul-07 20:56
professionalL Viljoen10-Jul-07 20:56 
AnswerRe: Document Referrer Pin
Michael Sync10-Jul-07 21:20
Michael Sync10-Jul-07 21:20 
AnswerRe: Document Referrer Pin
L Viljoen10-Jul-07 21:22
professionalL Viljoen10-Jul-07 21:22 
GeneralRe: Document Referrer Pin
Michael Sync10-Jul-07 22:37
Michael Sync10-Jul-07 22:37 
QuestionRetriving exe path Pin
Sachin Pimpale10-Jul-07 19:33
Sachin Pimpale10-Jul-07 19:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.