Use putty to download files






















With a strong software engineering background, Tony is determined to demystify the web. Discover why Tony quit his job to pursue this mission.

You can join the Tony Teaches Tech community here. To transfer a whole directory together with the subdirectories just add the -r option to the command: e. The commands for uploading and downloading are not the same as the PSCP commands. You can download files with the get command. The simplest form of the command looks like this: get examplefile. This command will download the file examplefile.

The working directory on your account can be changed with the command cd e. Files can be uploaded with the put command: put examplefile. For example, mget examplefile1. With the -r option you can use mget to download multiple directories e. Basically the same rules apply to this command as the ones for get.

Only in this case first you specify the file and path on your local computer and then on your account:. The above command will upload a file called examplefile.

Similarly to the get command, if you are uploading a file to a directory that's not your current working directory you have to specify not only the path on your account but also the name with which the file will be saved. With the put command you can also use the -r option to upload a directory together with its subdirectories and files e.

You can use mput to upload multiple files at once e. Another thing useful to know is that with both commands put and get if the file name or directory name has spaces in it, you have to put quotation marks around the name e. Toggle navigation Host Knox. Clients Contact Order.

Remember Me. To download a file from your account to your local computer just type first the path to the file on your hosting account and then the place on your local computer where you want to download it: pscp username e. For example, the following command will download all the files without any subdirectories inside the documents folder from you account to the D drive on your computer: pscp username e.

Here is a list with some useful commands: ls - shows the content of the current directory cd directoryname - changes the current working directory to the one specified the specified directory has to be a subdirectory of the current one, otherwise you have to type the full path cd.. Not hosting your site with us yet? I have a pdb file saved in my Linux directory. Is it possible to save this pdb file onto the desktop of the current computer I am using so I can e-mail it to myself?

I would like to learn how to save Linux files onto my desktop when using the university server. I have researched on my own and have found out that when you are using your own computer or personal laptop at home, I could potentially save a file using command cp to copy it actually to my desktop using a direct path however, I am having trouble completing this on a university server.

Where user and host refer to the server you are connecting to. Source is the path to the file on server, and target is path to where you want to save the file on your client. If you are using Linux client, your system possibly already has scp installed. Using SCP with pscp is a good option, as given by sebasth. SFTP with psftp is another option. You probably cannot install software on the university workstation, but you can probably download and execute Putty's psftp , which is 'command-line secure file copy.

Type help to view available commands.



0コメント

  • 1000 / 1000