./zbox upload
command is used to upload a file on dStorage. Parameters for uploading a file to dStorage can be viewed by using the ./zbox upload --help command.
local
variable and the remote directory is mapped to a remote
variable which is myfiles/info.txt.
owner
.export LOOKUPHASH=f15383a1130bd2fae1e52a7a15c432269eeb7def555f1f8b9b9a28bd9611362c
--encrypt
flag with the command.info.txt
file the command would be:IS ENCRYPTED
section, it will say YES
if the file is encrypted../zbox update
command to update the content of an existing file in the remote path. Like upload command. Only the owner of the allocation or a collaborator can update a file. To add collaborators to an allocation, check File Collaboration.​./zbox update --help
./zbox share
command is used to generate an authtoken that provides authorization to the holder to the specified file on the remotepath. Parameters for sharing the file can be viewed using the ./zbox share --help
auth ticket
expires./zbox download
can be used to download the file in two ways from dStorage. Using the Allocation ID or Authticket../zbox download --help
authticket
must be valid, true = sender pays, false = allocation owner paysAUTH
variable for the file we shared in sharing a file on dStorage section ../zbox delete
command. Parameters for deleting the contents of the file on dStorage can be seen by typing ./zbox delete --help
./zbox copy
command to copy file to another folder path in dStorage. Only the owner of the allocation can copy an object../zbox copy --help
.You can have a look at the parameters:./zbox copy
command to copy files../zbox move
command can be used to move files between folder paths in dStorage. The parameters required for the move command can be viewed using ./zbox move --help
/myfiles
and myfiles1
.We will move the info.txt file available remotepath /myfiles
to the destpath
/myfiles1
../zbox move
command./zbox rename
command can be used to rename files already existing in dStorage.Only the allocation's owner can rename a file. Parameters for the command can be viewed using ./zbox rename --help
./zbox list
command is used to list all the files from a specified directory on dStorage. Use ./zbox list --help
to know the possible parameters../zbox stats
command can be used to get upload, download and challenge information for a file. Parameters for the command can be viewed using ./zbox stats --help
./zbox meta
command is used to get meta data for the given file in dStorage . Use ./zbox meta --help
to know more about possible flags../zbox get-download-cost
determines the cost for downloading the remote file from dStorage. The client must either be the owner, a collaborator or be using an auth ticket../zbox get-upload-cost
determines the cost for uploading a local file on dStorage. --duration
Ignored if --end
true, in which case the cost of upload calculated until the allocation expires.