siac
or using its API. This page will get you started using siac
but Sia also provides API documentation.siac
depends on your OS and installation method. For Sia-UI users on Windows, try %APPDATA%\Local\Programs\Sia-UI\resources\bin
source
is the location on your local filesystem and destination
is the siapath to use for saving renter data locally.--help
for a thorough explanation of how it works. For example, for ssiac skynet upload --help
we see:After it runs, a skylink will be produced which can be shared and used to retrieve the file. If the given path is a directory it will be uploaded as a single skylink unless the--separately
flag is passed, in which case all files under that directory will be uploaded individually and an individual skylink will be produced for each. All files that get uploaded will be pinned to this Sia node, meaning that this node will pay for storage and repairs until the files are manually deleted. Use the--dry-run
flag to fetch the skylink without actually uploading the file.
Download a file from skynet using a skylink. The download may fail unless this node is configured as a skynet portal. Use the --portal flag to fetch a skylink file from a chosen skynet portal.
Pin the file associated with this skylink by re-uploading an exact copy. This ensures that the file will still be available on skynet as long as you continue maintaining the file in your renter.
Unpin one or more pinned skyfiles or directories at the given siapaths. The files and directories will continue to be available on Skynet if other nodes have pinned them.
Add space separated skylinks to the blocklist.