CDN network
03 Nov 2015

A 5th Way to Access CDN Storages – HTTPS REST API

We are happy to announce a 5th way to access our CDN storages – HTTPS REST API! With this API you can upload files, create directories, list directories and remove files or directories easily over an HTTPs protocol directly from your (mobile) application.

Let’s do a short summary of all five supported methods.


FTP stands for File Transfer Protocol it is a standard network protocol used to transfer computer files from one host to another host over a TCP based network, such as the Internet. FTP is built on a client-server architecture and uses separate control and data connections between the client and the server. The original specification for the File Transfer Protocol was written by Abhay Bhushan and published on 16 April 1971 and the current specification is from October 1985. FTP does not encrypt its traffic, all transmissions are in clear text, and usernames, passwords, commands and data can be read by anyone able to perform packet capture (sniffing) on the network. This problem is common to many of the Internet Protocol specifications (such as SMTP, Telnet and POP3) that were designed prior to the creation of encryption mechanisms such as TLS or SSL.


FTPS stands for FTP Secure (also known as FTPES and FTP-SSL) it is an extension to the FTP that adds support for the Transport Layer Security (TLS) and its predecessor the Secure Sockets Layer (SSL) cryptographic protocols. FTPS should not be confused with the SSH File Transfer Protocol (SFTP) below.


SFTP stands for SSH FTP it is a protocol with a similar command set for users as FTP, but uses the Secure Shell protocol (SSH) to transfer files. SFTP encrypts communication preventing passwords and sensitive information from being transmitted openly over the network. It cannot interoperate with FTP software.


Rsync is a widely-used utility to keep copies of a file on two computer systems the same. It is commonly found on Unix-like systems and serves as both a file synchronization and file transfer program. In our implementation it works over Secure Shell (SSH) protocol. Rsync was announced on 19 June 1996 by Andrew Tridgell and Paul Mackerras.


REST stands for REpresentational State Transfer it is a software architectural style of the World Wide Web. REST gives a coordinated set of constraints to the design of components in a distributed hypermedia system that can lead to a higher-performing and more maintainable architecture. REST was initially proposed by Roy Thomas Fielding in his 2000 PhD dissertation “Architectural Styles and the Design of Network-based Software Architectures”. Read about our REST API in documentation.

Example – upload a file

 curl --user username:password --include --request PUT --url --upload-file ./myimage.jpeg

Moreover with SFTP and RSYNC you can can authenticate to your storage with a public key instead of a password. Read more in accessing a storage.

Sincerely your CDNsun team.

Source Wikipedia

Leave a Reply

Your email address will not be published.