| Dart Home | PowerTCP FTP for .NET | Custom Development | Reply | PowerTCP FTP for .NET Topics | Forums |
| Author | Forum: PowerTCP FTP for .NET Topic: Can't upload a big file... |
| Ron Teal ron.teal@tbe.com From: Huntsville, AL USA Posts: 2 Member Since: 01/17/03 |
posted January 17, 2003 4:11 PM Using the FTP Client sample ASP.NET project. Are there any size limitations I should know about? Once my file size gets larger than about 3.5 meg the sample breaks. |
Jeff Cranford![]() From: Rome, NY USA Posts: 586 Member Since: 05/30/01 |
posted January 17, 2003 4:19 PM The error you are seeing is because the request is exceeding the maximum request size defined in your machine.config or web.config file. To remedy this, add the following line to your web.config. (the following line increases the limit to 8 MB) <httpRuntime maxRequestLength="8192" /> We will change the sample to account for larger file uploads. |
Jeff Cranford![]() From: Rome, NY USA Posts: 586 Member Since: 05/30/01 |
posted January 17, 2003 4:40 PM Ok, the live web sample has been fixed to allow 100 MB files to be uploaded to the server, although the server will not transfer any file over 1MB to your destination server. This is a self-imposed limit, to reduce the strain on our server. If you put this sample on your server, you can increase the httpRuntime maxRequestLength in your web.config to allow uploads up to 2 GB. |
| Ron Teal ron.teal@tbe.com From: Huntsville, AL USA Posts: 2 Member Since: 01/17/03 |
posted January 17, 2003 4:47 PM Thanks...that worked. I also modified MAXTRANSFERSIZE within ListView.aspx.cs to allow a larger file. |
Jeff Cranford![]() From: Rome, NY USA Posts: 586 Member Since: 05/30/01 |
posted January 17, 2003 4:59 PM Yep, forgot to point that out. That variable controls the internal check I referenced above. |
| Reply | PowerTCP FTP for .NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|