copy files....using scp help me
[root@Simlab-node2 student]# scp firstname.lastname@example.org:/home/student/aerofoils/ dumpfile
scp: /home/student/aerofoils: not a regular file
looks like aerofoils is a directory.
if you want to copy directories then use -r option
You have given very small information about your problem :-(
It looks that you are trying to scp a directory...
there are two options for you.
1) scp a single file, as in your example:
scp email@example.com:/home/student/aerofoils/dumpfile dumpfile
2) scp the whole directory using -r (recurse) option, but, in this case, target must be a directory (e.g. "." for current dir)!
scp -r firstname.lastname@example.org:/home/student/aerofoils/ .
hope I could help.
sir i want to copy a directory from one system another.
aerofoils is a directory in a sys1
i need to copy to current directory.
when i type,
sftp>scp -r email@example.com:/home/student/aerofoils <current directory>
so what should i do?
please help me .....
sftp is an alternative to scp and works like regular ftp, but is secure.
from ur machine:
scp -r root@.......
(normally ssh-root-login is not permitted?!)
from remote to your box:
scp -r dirname login@yourbox .....
|All times are GMT -5. The time now is 04:19 PM.|