nx_storage_sdk
1.0
Storage SDK
|
#include <vector>
#include <string>
#include <memory>
#include <stdexcept>
#include <stdint.h>
#include <mutex>
#include "storage/third_party_storage.h"
#include "ftplib/ftplib.h"
Go to the source code of this file.
Classes | |
class | nx_spl::aux::PluginRefCounter< P > |
class | nx_spl::aux::NonCopyable |
struct | nx_spl::aux::FileNameAndPath |
class | nx_spl::FtpIODevice |
class | nx_spl::FtpFileInfoIterator |
class | nx_spl::FtpStorage |
class | nx_spl::FtpStorageFactory |
Namespaces | |
nx_spl | |
Storage plugin namespace. | |
Typedefs | |
typedef std::shared_ptr< ftplib > | nx_spl::implPtrType |
This is the example project aimed to demonstrate a possible implementation of a Storage plugin.
ftp://10.10.2.54/some/path
/some/path/folder1/folder2
fileInfo.url = ftp://10.10.2.54/some/path/file1.mkv // right
fileInfo.url = /some/path/file1.mkv // right
fileInfo.url = file1.mkv // wrong
Usage of the plugin:
Connect to the Server with a Client. In external storage selection dialog you should be able to see new storage type (FTP). Enter a valid ftp url and credentials and press Ok. For example:
ftp://10.2.3.87/path/to/storage
user1
12345678