Editing Storj

From FileZilla Wiki
Jump to navigationJump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 106: Line 106:
 
* '''The free tier allotment is subtracted from your paid tier every month''', thus if you upload 100GB in a given month, you will only pay for 75GB (100GB – 25GB free tier) at the end of the billing cycle.
 
* '''The free tier allotment is subtracted from your paid tier every month''', thus if you upload 100GB in a given month, you will only pay for 75GB (100GB – 25GB free tier) at the end of the billing cycle.
  
= Configure FileZilla with Storj =  
+
= Configure FileZilla so it can be used with Storj =  
  
Follow the official guide over at Storj.io
 
  
https://docs.storj.io/dcs/how-tos/set-up-filezilla-for-decentralized-file-transfer
+
After the main FileZilla client window opens do the following:
 +
 
 +
* Click on <code>File</code> -> <code>Site Manager...</code>
 +
 
 +
 
 +
[[File:Storj Site Manager 1.png|400pix|thumb|center|upright=2.0|Figure 4.1. Go to <code>File</code> -> <code>Site Manager...</code>]]
 +
 +
 
 +
* In the resulting Site Manager Popup Window, first click on the <code>New Site</code> button at the bottom left-hand side. You can <code>Rename</code> the site name to a name of your liking, for example <code>Storj</code>. Then in the <code>General</code> tab on the right side, for <code>Host:</code> enter <code>api.storj.io</code>, for <code>Port:</code> enter <code>443</code> and for <code>Protocol:</code> select <code>Storj - Decentralized Cloud Storage</code>.
 +
 
 +
 
 +
[[File:Storj Site Manager 3.png|400pix|thumb|center|upright=2.0|Figure 4.2. Site Manager menu.]]
 +
 
 +
 +
* In the <code>User</code> field enter your [https://api.storj.io/ api.storj.io] '''email address'''. In the <code>Password</code> field '''enter the matching password to the previous email address'''.
 +
** '''If you are new to Storj''' click on <code>Generate...</code> to the right of the <code>Encryption key</code> field. This will generate an encryption key which will be used to encrypt all the data you upload to Storj, including all the folders. This key will also be used to decrypt the data you download from your Storj account. '''Be sure to write down the encryption key in a very safe place as you will lose access to your uploaded data if you don´t have the encryption key.'''
 +
** '''If you were previously running libstorj''' see the next chapter to export the encryption key from libstorj. Once the encryption key is exported, you can paste it into the <code>Encryption key</code> field in FileZilla. This way you will be able to access any files you previously uploaded to Storj with libstorj. The same applies if you were using core-CLI or any other toolkit to upload to Storj.
 +
* On the bottom right, there is a space to add <code>Comments</code> to the account which is particularly handy if you want to add more accounts to FileZilla.
 +
* Finally, click on <code>Connect</code>. FileZilla Should now connect to your account. If all goes well and the login details are correct, no errors will be returned and the Site Manager will close (Figure 4.3).
 +
 
 +
 
 +
'''Note:''' If already added any buckets (folders in FileZilla) to you account with another application, you will get the following error:
 +
 
 +
    Error: Wrong encryption key for at least one bucket
 +
 
 +
You do not have to worry about this error, it just means you cannot access one of the folders because you do not have a valid decryption key for it. In certain use cases this is actually desirable because sometimes you want to keep the file encryption key private for a certain machine/environment.
 +
 
 +
[[File:Storj Main dashboard.png|400pix|thumb|center|upright=2.0|Figure 4.3. Dashboard after successfully logging in to our Storj account.]]
 +
 
 +
 
 +
'''Note:''' It is absolutely vital that you backup the encryption key to a safe location and preferentially offline. Printing the key on paper is a very secure common practice.
 +
 
 +
 
 +
== Export encryption key from libstorj ==
 +
 
 +
If you were previously running libstorj, you can export the encryption key by executing the following command (Figure 4.4):
 +
 
 +
* <code>storj export-keys</code>
 +
 
 +
 
 +
[[File:Storj export-keys.png|400pix|thumb|center|upright=2.0|Figure 4.4. Export the encryption key from libstorj for use in FileZilla.]]
 +
 
 +
 
 +
Now copy the <code>Encryption key</code> string exported from libstorj and paste it into the <code>Encryption Key</code> field in the FileZilla Site Manager menu.
 +
 
 +
== Secure the FileZilla keys with a master password ==
 +
 
 +
To protect the encryption keys and bridge password, it is advisable to encrypt these passwords with a top-layer master password (and/or use full disk encryption and home directory encryption). This can be done as follows:
 +
 
 +
#. In the FileZilla top menu, click on <code>Edit</code> -> <code>Settings...</code>
 +
#. Once in the <code>Settings</code> menu, click on <code>Interface</code>.
 +
#. Under <code>Passwords</code> select <code>Save passwords protected by a master password</code>.
 +
#. Now enter a password of your choice (preferentially a long one), repeat the password for confirmation and click "OK".
 +
 
 +
 
 +
[[File:Storj password for seed.png|400pix|thumb|center|upright=2.0|Figure 4.5. Configure a master password to protect your bridge password and encryption keys]]
 +
 
 +
Done!. Now in case your computer gets compromised, it will be impossible for the hacker to retrieve your bridge keys and encryption key without using a key logger while you're unlocking the password.
 +
 
 +
== Adjust simultaneous transfers and timeout details ==
 +
 
 +
We can adjust the number of simultaneous transfers to a value from 1 to 10. Setting this value to 10 allows maximum bandwidth utilization during transfers of a large number of files, both for uploading and downloading.
 +
 
 +
This can be done as follows:
 +
 
 +
# In the FileZilla top menu, click on <code>Edit</code> -> <code>Settings...</code>.
 +
# Once in the <code>Settings</code> menu, click on <code>Transfers</code>.
 +
# In the <code>Transfers</code> section set the <code>Maximum simultaneous transfers</code> to a number of your choice between 0 and 10.
 +
 
 +
 
 +
[[File:Storj settings 2.png|400pix|thumb|center|upright=2.0|Figure 4.6. Configure the number of maximum simultaneous transfers for optimal bandwidth utilization.]]
 +
 
 +
 
 +
'''Note:''' You can also set transfer speed limits in KiB/s for both downloads and uploads in this settings menu. However, this isn't currently available with Storj, please watch https://github.com/Storj/libstorj/issues/9 for when it's added.
 +
 
 +
Timeouts can occur at the default timeout value. We can adjust this value upwards to where timeout errors no longer occur. In the example below the timeout was set to 60 seconds. This will affect all commands except for uploads and downloads.
 +
 
 +
[[File:Storj settings 1.png|400pix|thumb|center|upright=2.0|Figure 4.7. Adjust timeout limit in seconds.]]
 +
 
 +
 
 +
'''Note:''' The <code>Maximum number of retries</code> is also a useful setting to adjust in case downloads or uploads fail after the first 1-2 retries.
  
 
= Creating a folder, uploading and downloading files =
 
= Creating a folder, uploading and downloading files =

Please note that all contributions to FileZilla Wiki are considered to be released under the GNU Free Documentation License 1.2 (see FileZilla Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)