Home > Net >  Asp.net warehouse how to solve the large text files, 100 points for help
Asp.net warehouse how to solve the large text files, 100 points for help

Time:09-24

File documents about 1 g, do not match the number of characters per line, each row data of 300 columns, separated by a comma between each column,
Want to read through each line, the line into the oracle database data decomposition, when running a HTTP Error 413.1 - Request Entity Too Large,
If the file stream to read, every time I read data is not necessarily complete data in each row,
Please comment

CodePudding user response:

Two directions: 1. The request volume limit the highs, but too eat server resources; 2. Reduce the file size, such as upload using the zip format,

CodePudding user response:

But looking back on it, you're the demand with the current plan to achieve is not reasonable, a network of words to say, if is go public, need 1 g file upload, should consider to use other ways, too many questions go HTTP:
Limit higher volume, was attacked server second lie;
File size is too big, even if the normal request will also bring great pressure to the server;
File size is too large, the back-end server receives the file, after processing will be difficult;
Transmission time is too long, probably timeout;
Transmission time is too long, serious impact on business efficiency;
If transmission interrupt, cannot the retransmission,

CodePudding user response:

Why can't see the other people's reply
  • Related