How to download file from putty






















Improve this answer. Martin Prikryl Martin Prikryl k 46 46 gold badges silver badges bronze badges. Works great! Ashish Ashish 1, 11 11 silver badges 12 12 bronze badges.

Compress: tar -zcvf archive-name. So you can use it in command prompt or power shell like bellow. Luan Souza Luan Souza 99 1 1 gold badge 1 1 silver badge 8 8 bronze badges. Welcome to Stack Overflow! Can you elaborate more in your answer? For example, can you give an example how to use the WinSPC program? Considering that you already have archives in your server that you access using PuttY, right? You already know this.

So now you download and open the winSPC and when it starts, you can log your server in there. After this you can access the folder and select download. It's pretty easy. If you still have question, search on google about the program, or download its handbook. For MobaXterm :. Dika Purnasucita Dika Purnasucita 6 6 bronze badges.

Mohamed Raafat Mohamed Raafat 72 5 5 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Asked 8 years, 8 months ago. Active 4 years, 5 months ago. Viewed 59k times. Improve this question. Peter Mortensen Tom Tom 4 4 gold badges 10 10 silver badges 23 23 bronze badges.

Add a comment. Active Oldest Votes. Improve this answer. Frank Thomas Frank Thomas Thanks for your answer. I have upvoted it for now. More than anything I need commandline though. You could use it like this: pscp -pw password username remote.

Community Bot 1. You have the choice whether to use the same name for the target file or to use a different one, but in both cases the content of the file will be the same as that of the source file.

Since with PSFTP you can browse and change the working directory on your account cd command , you don't have to type the full path to the file on your account that you want to download.

Using the above example, if you use the cd command e. The same is true for the current working directory on your local computer. In this case you don't even have to type the name of the target file when you download it to the current working directory on your computer. You can just use get examplefile. To download a directory with all its content including subdirectories , you have to add, as with PSCP, the option -r :.

The above command will download a directory called newfolder from the current directory on your account to the D drive on your local computer. If you don't specify a name for the directory on you local drive e. So the contents of newfolder will be scattered on your D drive. This, as with files, is the case when the current working directory on your local computer is not your local D drive. If the working directory on your local computer is the D drive, you can just use get -r newfolder.

This will download not only the contents but also the folder itself to the working directory on your computer D drive in this example. Again, as with files, if you want to you can specify a different name for the target directory e. With the command mget you can download multiple files at the same time. 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.



0コメント

  • 1000 / 1000