...
Wiki Markup |
---|
{div:class=confluenceTableSmall} || Object type || Description || | {{ByteArrayOutputStream}} | in case of single file download, stream representing the file downloaded | | {{Map<String, ByteArrayOutputStream>}} | in case of multiple files download, a map with as key the path of the remote file downloaded and as value the stream representing the file downloaded | {div} |
Move operation
Move files on Dropbox between one folder to another.
Works only as Camel producer.
Below are listed the options for this operation:
Wiki Markup |
---|
{div:class=confluenceTableSmall}
|| Property || Mandatory || Description ||
| {{remotePath}} | {{true}} | Folder or file to delete on Dropbox |
{div} |
Samples
from("direct:start").to("dropbox://del?accessToken=XXX&clientIdentifier=XXX&remotePath=/root/folder1").to("mock:result");
from("direct:start").to("dropbox://del?accessToken=XXX&clientIdentifier=XXX&remotePath=/root/folder1/file1.tar.gz").to("mock:result");
Result Message Headers
The following headers are set on message result:
Wiki Markup |
---|
{div:class=confluenceTableSmall}
|| Property || Value ||
| {{DELETED_PATH}} | name of the path deleted on dropbox |
{div} |
Result Message Body
The following objects are set on message body result:
Wiki Markup |
---|
{div:class=confluenceTableSmall}
|| Object type || Description ||
| {{String}} | name of the path deleted on dropbox |
{div} |