How to download files through putty to windows






















After you execute the set path command, you just need to type psftp followed by a space and your master username and the name of the server: e. With cd.. Here is a list with some useful commands:. Files can be downloaded with the get command:. The above command will download a file called examplefile. This has to be done when you're downloading a file to a directory on your local computer that is not your current working directory. Unlike PSCP, where if you don't specify a name the file will be saved with the original name, with PSFTP if you don't specify a name for the file the get command might not work.

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. 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. Replace the sections in bold with the information you gathered in step 1. For example, the command used for this example is:. Open up a command line in Windows.

Windows 10 already has SCP installed by default. The color contrasts with the yellow, and syntax highlighting is a nice change from the drab command line. As you can see, you first need to confirm the connection using the RSA fingerprint of the remote server.

Replace [UserName] with your own Windows username. Each RSA fingerprint is added on a new line. This allows you to clear them easily by deleting an entire line at once if you ever need to remove an entry. Navigate to the location you specified in your SCP command and the file should be visible.



0コメント

  • 1000 / 1000