FileCloud User Automation App
To integrate FileCloud with your existing business processes, like extracting files out of FileCloud or uploading files into filecloud a command line based FileCloud Automation App is provided.
The FileCloud Automation tool (cloudapi) is currently only available on Windows platforms. If you need access to the tool for other operating systems, please contact customer support.
Installation of the the app is straight forward, just download the zip file and unzip it to any folder and run the "cloudapi" executable.
The following arguments are currently processed by the app.
Argument | Explanation |
---|---|
-? | Show Help |
--user | username to use to do the action |
--password | password for the associated user |
--host | full URL to the server, e.g. http://files.xyz.com |
--operation | type of operation to perform (more details below) |
--remotepath | usually remote path in the server |
--remotename | usually remote name in the server |
--localpath | usually local path in the local machine |
The following operations are supported:
Operation | Detailed Description |
---|---|
UPLOAD | Uploads a specific local file to the remote server cloudapi --user USERNAME --password PASSWORD --host SERVERURL --operation UPLOAD --remotepath PARENTPATH --localpath FILEPATH Example: |
DOWNLOAD | Downloads a specific file from the remote server to the local location cloudapi --user USERNAME --password PASSWORD --host SERVERURL --operation DOWNLOAD --remotepath FULLPATH --remotename NAME --localpath FILEPATH Example: |
CREATEFOLDER | Create a remote folder on the server cloudapi --user USERNAME --password PASSWORD --host SERVERURL --operation CREATEFOLDER --remotepath PARENTPATH --remotename NAME Example: |
DELETE | Delete a file or folder on the server cloudapi --user USERNAME --password PASSWORD --host SERVERURL --operation DELETE --remotepath PARENTPATH --remotename NAME Example: cloudapi --user john --password mypassword --host http://files.xyz.com --operation DELETE --remotepath /john/myfolder --remotename doc1.docx |
UPLOADFOLDER | Uploads a folder recursively from the local machine to the remote server on the specified path cloudapi --user USERNAME --password PASSWORD --host SERVERURL --operation UPLOADFOLDER --remotepath PARENTPATH --localpath LOCALFOLDERPATH Example: cloudapi --user john --password mypassword --host http://files.xyz.com --operation UPLOADFOLDER --remotepath /john/myfolder --localpath c:/users/john/desktop/localdata |
DOWNLOADFOLDER | Downloads a folder recursively from the remote server to the local machine. Download will skip files if they are already present and if they have the same size as the size on the server. cloudapi --user USERNAME --password PASSWORD --host SERVERURL --operation DOWNLOADFOLDER --remotepath FULLPATH --localpath LOCALFOLDERPATH Example: cloudapi --user john --password mypassword --host http://files.xyz.com --operation DOWNLOADFOLDER --remotepath /john/myfolder --localpath c:/users/john/desktop/localdatabakup |