ftp - Using psftp to upload and download files
2013-09
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 http://www.math.tamu.edu/~mpilant/math696/psftp.html. 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
I double click the .exe file
open "servrname"
cd /path/where/files/are
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?
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.
Alright sorry for troubling you guys, my folder was locked down, so I did not have write access to the destination folder.
I love aptitude's gui on Debian. I like how you can select with + and de-select with -, hit 'g' and download, move up and down with j and k ( vim style ).
I'm wondering if there are any command line guis similar to Aptitude for transferring files, currently I use FileZilla but I'd like something more efficient.
Of course I'm aware that there are real command line file transfer programs but I'd like a higher level interface that's not limited by the clicking, I usually have to select dozens of files and filter through so typing the filenames of each of those, even if there's tab completion is a hassle.
And my preferred protocol is SFTP, but I occasionally do FTP if the server is setup as such.
The first one that comes to mind is midnight commander (the mc
package in the Debian and Ubuntu world).