Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello all,

 

I'm in the process of developing an app that transfers files to and from a file server via web services. I know that to use web services, you can either break the file up in chunks that are less then 4 MB or set the maxlength property. This is primary to protect against DOS attacks and help with the SOAP processing. Now, the question.

 

Is this technique applicable only for incoming requests - i.e. posting to the file server web service. What I want to know is if I need to reverse the process when a uses wants to download a file from the file server? As the request would be getting a file, is there a way to allow downloads to be downloaded with having to break them up on the file server and reassemble them on the client?

 

thanx in advance.

 

inzo

he who forgets will be destined to remember... (E.Vedder)
Posted

got it!

 

Okay - for all those reading.

 

The httpruntime element that you can configure / set in the web.config file for web services, applies only towards uploads according to msdn. Thus I test this by doing a file transfer app that transfers to a web service that only accepts 1 mb files. In reverse, I was able to pull files larger than 1 mb (tested 30mb) off of the server byte copying a simple byte array from the web service to the client machine.

 

just an fyi for everyone.

 

inzo

he who forgets will be destined to remember... (E.Vedder)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...