upload
Syntax:
shell
sfiler [options] upload [Command options] <filename>
Command Options | Required/Optional | Description |
---|---|---|
-d | Required | Upload destination. This is the path where we should upload the file. (ex: /Inbox/folder1) |
-tc | Optional | Time to live count. Set to determine how many times the file can be download. Default: 0 |
-td | Optional | Set an absolute expiration date. After this date, the file cannot be downloaded, it will be deleted. (ex: 2011-12-31) |
-th | Optional | Set a relative expiration date. The file will expire in X hours from now. (ex: 2) |
-x | Optional | Message to send to recipients |
note
If path not included in filename, Current path will be assumed.
Examples:
To upload to one's personal inbox
shell
sfiler.exe -l "my-user" -p "my-password" -s https://www.sfiler.com/sfiler/server/ upload -d "/Inbox" "my-file.txt"
To upload to all members of a community
shell
sfiler.exe -l "my-user" -p "my-password" -s https://www.sfiler.com/sfiler/server/ upload -d "/MyCommunity" "my-file.txt"