Hi Robert,
>> The file size restrictions mentioned in these posts are IIS parameters. Since NetTalk applications replace IIS, this opens a lot of questions on how NetTalk applications are actually handling the uploading files.
The good news is that the server side is completely under your control, so implementing stuff on that side is really easy. But of course by then the user has already sat through uploading the file, so it's a bit "late" for genuine users. For malicious users of course it _has_ to be here.
>> Are there any restrictions on the size of the file that is uploaded?
built into NetTalk - no. However if you wanted to apply a restriction you can do it in the WebHandler, in the HandleFile menthod. One line will suffice;
if p_len > x then return.
HandleFile is the method that writes the incoming file to disk.
>> Do any of the server properties restrict the amount of data that can be sent from the browser. Is it restricted to the size of the post transaction?
no - bear in mind that as the post is arriving it's not "understood" at that point. Only once the whole request has arrived is it handed off to the WebHandler.
It would be possible to keep an eye on an incoming request, in the process method, and abandon it if it got too large though.
>> I have used a product called csASPUpload from
www.chestysoft.com. It is a server side ASP component that is used in an ASP script. Using this component the file size can be determined prior to the file upload and plugins are not required on the browser.
The browser-side code is not affected by ASP - and the server side part should be easy to handle - so I'll take a look into it.
cheers
Bruce