This may be the most ridiculous question I've ever asked, but I freely admit that I am stumped. I'm trying to move some files from a remote server to my local machine. I'm running Ubuntu, obviously. Now, just for background this machine has two different users. I'm logged in as one of them; joe. So when I click the home folder in Unity I get my joe home folder with all of my sub folders and files. One of the folders that I have inside joe is called remote. Inside remote is another folder named mail. I have no problem logging into the remote server using either openssh or putty, but I cannot copy the files to joe/remote/mail. For some reason I keep getting the path wrong and I have tried every variation that I can think of. A partial list would be...
/joe/remote/mail
/remote/mail
~/joe/remote/mail
~/remote/mail
remote/mail
joe/remote/mail
/home/remote/mail
/home/joe/remote/mail
/local/home/joe/remote/mail
/local/joe/remote/mail
/local/remote/mail
You get the idea. Everything I try comes up with the same error: folder xxxx does not exist. I guess what I'm asking here is just what, exactly, does openssh and putty think is the current directory on the local machine? I have searched online documentation and have found nothing that tells me this simple and infinitely usable piece of information.
Also, I went ahead and copied the files using "." as the destination, which should copy them to the current directory on the local machine. It worked! But... where are they? They aren't in root. They aren't in Home. They aren't in joe. I'm lost.
Edited to add that I am using scp to copy the files, if that matters.