Quote:
Originally Posted by shik28
Code:
scp shik28@domain1.com:/log/source.txt destination.txt
This works fine.
|
This is almost the same command you did show in the first post, except for the different domain name. Again, if the error message is "No such file or directory" check carefully the path of the file and at this point the name of the remote server.
Quote:
Originally Posted by shik28
The file name itself is df.last. I don't know the extension. last is not an extension. It is a part of the filename.
|
In linux file extensions are less meaningful than windows ones, as the
file command demonstrates. Actually it checks for a
magic number, that is a
invariant identifier at a small fixed offset into the file.
This is to tell you that the presence or absence of a standard filename extension has nothing to do with the scp problem. The issue is to write the correct path of the file to copy and be sure it's actually exists.