RTC Forums
November 24, 2024, 11:47:21 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Send a file to another web-server  (Read 4776 times)
kaju74
Newbie
*
Posts: 25


« on: November 05, 2010, 06:15:22 PM »

Hi...

I've a 3rdParty webserver which allows me to upload a file using this part of html:

Code:
    <form action="" method="post" enctype="multipart/form-data" name="form1" id="form1">
      <label>upload file
        <input type="file" name="file" id="file" />
      </label>
      <label>
        <input type="submit" name="button" id="button" value="Submit" />
      </label>
    </form>

Is there any way to use RTC and sending a file to that server automatically?

Thank you & regards,
Marc
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #1 on: November 05, 2010, 10:35:13 PM »

There is no automatic mechanism built into the RTC SDK for uploading data to a 3rd-party web server using "multipart/form-data" encoding. You will need to construct the request content body manually and upload it to the webserver the same way you would send a file to a RTC Server. You can find an example on sending files to Servers in the RTC SDK QuickStart folder under "Client Upload".

Best Regards,
Danijel Tkalcec
Logged
kaju74
Newbie
*
Posts: 25


« Reply #2 on: November 11, 2010, 11:14:22 AM »

Hi..

Thank you...I'll try that out.

Regards,
Marc
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.023 seconds with 16 queries.