cancel
Showing results for 
Search instead for 
Did you mean: 

Which is the best option to go HTTPS or FTPS?

Former Member
0 Kudos

Hello All,

Client gave me two options and told to select one best way to transfer the data,

First is FTPS or HTTPs. Please let me know which is the best option to go with. and please tell me what are the necessary configurations need to be done if we go with any one option.

Please give your inputs.

Thanks and Regards,

Phani Kumar M

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi Phani,

FTPS and HTTPS both protocols are used for uploads and downloads, for text and for binary, both over TCP/IP. But there are a lot of differences in the details:

1) FTP has a notion of file format so it can transfer data as ASCII or binary (and more) where HTTP always sends things binary. FTP thus also allows text conversions when ASCII files are sent between systems of different sorts.

HTTP provides meta-data with files, Content-Type, which clients use but FTP has no such thing. The meta data can thus be used by clients to intrepret the contents accordingly.

2) Transfers with HTTP always also include a set of headers that send meta data. FTP does not send such headers. When sending small files, the headers can be a significant part of the amount of actual data tranfered. HTTP headers contain info about things such as last modified date, character encoding, server name and version and more.

3) One of the biggest hurdles about FTP in real life is its use of two connections. It uses a first primary connection to send control commands on, and when it sends or receives data, it opens a second TCP stream for that purpose.

4) FTP and HTTP have a different set of authentication methods documented. While both protocols offer basically plain-text user and password by default, there are several commonly used authentication methods for HTTP that isn't sending the password as plain text, but there aren't as many (non-kerberos) options available for FTP.

5) For HTTP communication, a client can maintain a single connection to a server and just keep using that for any amount of transfers. FTP must create a new one for each new data transfer.

6) HTTP provides a way for the client and server to negotiate and use (different) compression for the sent data. The gzip algorithm being the perhaps most compact one.

FTP offers an official "built-in" run length encoding that compresses the amount of data to send, but not by a great deal on ordinary binary data. It has also traditionally been done for FTP using various "hackish" approaches that were never in any FTP spec.

7) One of the biggest selling points for HTTP over FTP is its support for proxies, already built-in into the protocol from day 1. The support is so successful and well used that lots of other protocols can be sent over HTTP these days just for its ability to go through proxies.

FTP has always been used over proxies as well, but that was never standardized and was always done in lots of different ad-hoc approaches.

😎 For a single shot small file, you might get it faster with FTP (unless the server is at a long round-trip distance). When getting multiple files, HTTP should be the faster one.

Based on your client requirement you can go ahead with the suitable one considering the above points.

Regds,

Pinangshuk.

former_member192295
Active Contributor
0 Kudos

Hi,

It is completely depends on client requirement. If client agree to transfer data as file mean we can choose FTP else we can choose HTTPS. For HTTPS we need some prerequisites.

Former Member
0 Kudos

Thanks to all for the reply.

If i need to down load the data from the existing Web browser, then i think best option is going with HTTPs.

Please let me know any addtional software need to install in PI server for this......can i use SOAP adater to down load.

what all i need to configure this scenario.

I need to ask the Source XSD file for the source structure.

What else i need ...please guide me.

Thanks and Regards,

Phani

Former Member
0 Kudos

Hi,

If client is going to communicate data in form of HTTP request then you must go for HTTPs else FTPs is best option.

Again it is not XI/PI which decide what to use but what is available from client. If client is able to send data in form of file then go for FTPs as it is secure/Async and easily traceable.

For designing system you need source structure (if XSD available then great else you need to create one), target structure and mapping rule.

Regards,

Gourav

Former Member
0 Kudos

Hi,

Thanks for the reply.

Yes i know we will not deside, but if client gave some options through which they want to send data and based on our decision they will implement that secure option at there side.

Then we have to suggest the client which will be the best option.

that is the reason i rasied this request.

Thanks.

Shabarish_Nair
Active Contributor
0 Kudos

My recommendation is;

1. Go for FTPS in case you are to transfer Files and do conversions on the same. Advantage for FTPS is - very easy to configure.

2. HTTPS - Also secure but the transfer of data will entirely depend on what the content is to be. Note that for HTTPS, the best is to configure using the SOAP adapter and use the option - Do Not Use SOAP Envelope

Former Member
0 Kudos

This message was moderated.

prateek
Active Contributor
0 Kudos

Check out the requirement as in what type of data should be transferred. If it is a simple xml file, then both can be used. However, if there is a lot of conversion happening in PI and there are certain adapter level changes required, then you should opt for File adapter. This is because http won't suppot adapter module which file adapter does. Also check if there is some text data to be sent.

Regards,

Prateek

former_member200962
Active Contributor
0 Kudos

Selection should be based on the format of the transferred data.

If FILE is transferred then FTPS else opt for HTTPS

Regards,

Abhishek.