RTC Forums
November 25, 2024, 05:00:17 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Receive a Large File At the Server  (Read 5241 times)
rodrigo
RTC Expired
*
Posts: 2


« on: March 25, 2010, 02:45:38 PM »

I wan´t to write a server wich receives large files posted from a browser.

Is there any example regarding this scenario ?

thanks
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #1 on: March 25, 2010, 02:58:21 PM »

If your connection to the Server is expected to be stable enough to handle the complete upload without breaking, take a look at the QuickStart\BrowserUpload example which is included in the RTC SDK.

But please note that using a Browser with its standard FORM-POST mechanism to upload very large files over the Internet is a really bad idea because the FORM-PORT format does NOT support upload resuming, which means that a broken upload will need to be re-sent from the 1st byte.

In other words, if you need a way to upload very large files to your Server over the Internet, using a Browser with its standard built-in upload mechanisms is most definitely not the way to go.

Best Regards,
Danijel Tkalcec
Logged
rodrigo
RTC Expired
*
Posts: 2


« Reply #2 on: April 01, 2010, 02:33:33 PM »

Hi Daniel, I need to upload files about 2 MB large, I think that example you´ve mentioned will do the trick for me.

Thanks!
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #3 on: April 01, 2010, 07:05:12 PM »

Yep. Unless you are on a *really* bad mobile connection, files below 10 MB in size should be no problem at all for a Browser and the standard FORM POST method.

Best Regards,
Danijel Tkalcec
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.024 seconds with 17 queries.