Skip to content

upload

Syntax:

shell
sfiler [options] upload [Command options] <filename>
Command OptionsRequired/OptionalDescription
-dRequiredUpload destination. This is the path where we should upload the file. (ex: /Inbox/folder1)
-tcOptionalTime to live count. Set to determine how many times the file can be download. Default: 0
-tdOptionalSet an absolute expiration date. After this date, the file cannot be downloaded, it will be deleted. (ex: 2011-12-31)
-thOptionalSet a relative expiration date. The file will expire in X hours from now. (ex: 2)
-xOptionalMessage 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"