We want to upload a local file via ssh or download the files from the Linux host locally, which can be done via the Psftp.exe file. To complete this work, you must have a complete putty installation package and not just putty.exe this file. The next step is to run Psftp.exe, which is the full character interface as Putty. There are a handful of commands to upload and download relative to the shell's numerous commands.
The open host.com is used to connect to a remote Linux server, where host.com is replaced with its own address. The CD public/project/is used to switch directories on a Linux server, where public/project/is replaced with its own actual path. The LCD d:/downloads/is used to switch the local path, where d:/download/is the folder I built in D. In summary, the purpose of switching the local path is to upload the files in this directory or download the files on the server to this folder. This path depends on your specific situation.
Put Recerver.go upload recerver.go to the server
Get recerver.go download Recerver.go to your computer