Using psftp to upload and download files

Hello I am trying to upload and download files from my desktop to my server. Now after some search I did download psftp. I used to use filezilla earlier, but I cannot install it on my desktop due to a few reasons. Since psftp (similar to putty) is just an executable for file transfer.

So now after going through this link . I understood that put and get are two commands I would use to download and upload files. Now when I logon to the server and say get filename, it actually is throwing back an error "local: unable to open filename". I tried that with other files too, and I end up getting the same error.

The psftp.exe file is on my desktop. The process that I am using is

  1. I double click the .exe file

  2. open "servrname"

  3. cd /path/where/files/are

  4. get "filename"

And I get this error

"local: unable to open filename".

Am I making a mistake or is it a problem with this executable?

2 Answers

It sounds like a local permissions issue to me. Try using the 'lpwd' command to determine the local directory you are in. You can use 'lcd' to change the local directory you are downloading to, if the one you are in does not work.

5

Alright sorry for troubling you guys, my folder was locked down, so I did not have write access to the destination folder.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like