Uploaders
Uploaders are a way of sending asset files up to the server that they will be distributed from. They are configured via the upload.conf, which has to be created manually in the .mv3d local directory. The file is in INI file format like other MV3D config files. Each section in the file corresponds to an uploader. Here's an example section:
[SomeServer] type=mv3d.resource.upload.SFTPUploader host=someserver.com user=test password=pass publicKey=/path/to/ssh/publicKey privateKey=/path/to/ssh/privateKey baseDir=/home/test/mv3d/resources/ downloadUrl=http://someserver.com/resources/
In this example, it uses an SFTPUploader. This is currently the only type of uploader available. It is able to upload to any server that uses ssh. Both password and keys are specified, which would not be the case in practice. Only one or the other should be used.
The baseDir sets the directory on the server to put the files, and the downloadUrl gives the base http address for files that are uploaded.
Currently, Importer and Patcher both use uploaders, but more tools will make use of it in the future.
