FTP_Storage Plugin
A flexible way to store your files in a different server location, using FTP or SSL-FTP to transmit the files
This plugin is based on this project https://github.com/Nicolab/php-ftp-client
Requiriments
In addition to the FTP server, you will also need a web server on the same FTP server, this web server will be used as the endpoint.
The files will be stored in a separate server and will be transferred using the FTP protocol. But when a video is required to play we will play the video directly from your FTP server, so your client will need to access the file directly from the endpoint
Parameters
- hostname: the hostname used to connect to your FTP server
- username: the username used to connect to your FTP server
- password: the password used to connect to your FTP server
- port: the port used to connect to your FTP server
- path: This is where the FTP script should save the files after login
- SSL: check if your FTP requires SSL
- passiveMode: check if your FTP requires the passive mode
- endpoint: Your endpoint MUST be the FTP URL, the HTTP URL you use to access your files on the FTP server
More about endpoint
For example, if you have an FTP server and a webserver hosted on the IP 192.168.0.2, and you upload your files to the path: ./myUploadedFiles/, your endpoint will be http://192.168.0.2/myUploadedFiles/
Important
If your Streamer is hosted using SSL (HTTPS) your FTP endpoint MUST also use SSL