First you will need to get your storage address and credentials from your account in our members area. Then you have many options of accessing your storage over SMB.
For the following examples we will assume the following:
Windows will ask you for your credentials (Username and Password) and after you enter them correctly it will open your cloud storage in File Explorer.
In order to disconnect your network drive:
In a console that has administrative permissions:
1 |
net use q: \\mystorage.cs.esgr.in\backup |
1 |
mklink /D C:\%userprofile%\MyStorageFolder \\mystorage.cs.esgr.in\backup |
1 |
yum install samba-client samba-common cifs-utils |
We will assume your user in the system is myuser
Add an entry in your fstab like this:
1 |
//mystorage.cs.esgr.in/backup /home/myuser/mystorage cifs user=user1234,pass=WMacuuvnnxaKuiwBTrn2,iocharset=utf8 0 0 |
In order to avoid the leaking of username & password you can do the following:
Create the file ~/.smbcredentials:
1 |
touch ~/.smbcredentials |
Add the following inside the smbcredentials file:
1 2 |
username=user1234 password=WMacuuvnnxaKuiwBTrn2 |
Change the permissions of the file to be readable only from your id:
1 |
chmod 600 ~/.smbcredentials |
Change the fstab entry to be like this:
1 |
//mystorage.cs.esgr.in/backup /home/myuser/mystorage cifs credentials=/home/myuser/.smbcredentials,iocharset=utf8 0 0 |