RTC Forums
November 24, 2024, 11:49:58 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Login
Register
RTC Forums
>
Subscription
>
Support
>
How to download files from HTTPS server by given HTTPS URL?
Pages: [
1
]
« previous
next »
Print
Author
Topic: How to download files from HTTPS server by given HTTPS URL? (Read 4532 times)
WilliamY
RTC License++
Posts: 23
How to download files from HTTPS server by given HTTPS URL?
«
on:
August 17, 2011, 05:44:41 PM »
Hi,
Is there any sample code in RTC SDK to demo how to download files from HTTPS server by given HTTPS URL?
Thanks
William
Logged
D.Tkalcec (RTC)
Administrator
Posts: 1881
Re: How to download files from HTTPS server by given HTTPS URL?
«
Reply #1 on:
August 18, 2011, 06:07:31 PM »
The code for downloading files is identical, wether you use SSL encryption or not. You only need to set up the TRtcHttpClient component to use SSL encryption and connect to the SSL port. This means using port 443 instead of 80 if your Server is using the standard HTTPS Port and setting the "useSSL" property to TRUE if you want to use built-in Client side encryption, or connect 3rd-party encryption components to the "CryptPlugin" property if you want to use third-party encryption components for SSL encryption.
If you need an example project, take a look at the "File_Client" Project in the "Demos" folder. If you define the "StreamSecII" compiler directive in that project, you can also test the use of StreamSec Tools 2.1 for SSL encryption by rebuilding the project and enabling the "Cyrpt Plugin" checkbox.
Best Regards,
Danijel Tkalcec
Logged
WilliamY
RTC License++
Posts: 23
Re: How to download files from HTTPS server by given HTTPS URL?
«
Reply #2 on:
August 19, 2011, 04:16:26 AM »
Perfect!
Thanks,
William
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Dashboard
-----------------------------
=> General
=> 3rd-Party
=> Quick Start
-----------------------------
Subscription
-----------------------------
=> Support
Loading...