I am using fedora 10 in two computers. Just for my own practice I sent a file to my second computer.
1st computer IP is 192.168.1.10
2nd computer IP is 192.168.1.20
PHP Code:
[root@localhost root]#touch file1
[root@localhost root]# scp file1 192.168.1.20:/home
file1 100% |************************* | 0 00:00
Now I delete file1 in my 1st pc
[root@localhost root]#rm -rf file1
The file has been successfully copied to the second computer but I again want to copy that file into my local computer by still sitting in my 1st computer.
PHP Code:
[root@localhost root]# scp file1 192.168.1.20:/home 192.168.1.10:/home
root 192.168.1.20's password:
file1 no such file or directory
permission denied, please try again
permission denied, please try again
lost connection
[root@localhost root]#
Kindly guide me,
thanks
garden