Transfer or Download file from remote server with ease of CLI
CloudTransport a light weight python script that uses sftp transfer protocol to transfer files between the server with the ease of CLI
- Currently it has been tesetd over ubuntu machine only
- In future we will update its other os dependent script
- Contribution is welcome and we need that
Follow these steps to install and if python does not work use python3l
# Clone this project
https://github.com/devil-cyber/CloudTransport
# After cloning go to the project directory & run
python install setup.py
# At last add a alias to .bashrc
cloud alias='python -W ignore {path to project directory}/terminal.py'
## Now you are good to go! you can run file from any directory nowFollow these steps:
cloud-
- Give Hostname ie. (Public Ip Adress of your remote server)
- Give private key path ie.(Your cloud provider provides a private key file so give that file path)
- Give port ie. (Your remote server port )
- Give username ie. (This is username of your remote VM)
Just like this:-
cloud --set cOutput will look like:-
-
- Enter server file or folder path ie. (Give the path of folder or file that you wants to download from remote srver)
Just like this:-
cloud --download rNote for uploading folder firts make a zip file then upload that
Note At time of entering remote server folder path provide the the same extension of the file as in local syatem to save on server
eg. Local path : /home/path/exmaple.zip
Remote path : /home/anypath/myfile.zip
* Enter local file or folder full path ie.(Enter the full path of the including your file path)
* Enter server file or folder full path ie. (Enter the path on which you wants to save uploaded file with same extension as in local computer
Just like this:-
cloud --download rReleased under MIT by @devil-cyber.