Computing.Net > Forums > Unix > files copy from other system

files copy from other system

Reply to Message Icon

Original Message
Name: arun.s
Date: November 22, 2005 at 21:38:45 Pacific
Subject: files copy from other system
OS: unix
CPU/Ram: 256
Comment:

hi
say i m running a script on 10.20.10.21
the script is as follows
----------
in this section i m accepting some file names

----------
---------
in this section i want to copy those files (files specified by the user) from other machine say 10.24.10.23 to 10.20.10.21(where my script is running).. i know i can ftp it
but i want to automate this script in such a way that after specifying the filenames in section on copy process should happen automatically and next section commands must be executed after that
----
-----
after copying files i want to execute the rest of commands in this script
-----

please provide the solution for above problem
if you want more clearance about my question let me know...

thanks
arun.s



Report Offensive Message For Removal

Response Number 1
Name: FishMonger
Date: November 23, 2005 at 07:56:54 Pacific
Subject: files copy from other system
Reply: (edit)

Sounds like a homework assignment

man rcp
man scp


Report Offensive Follow Up For Removal

Response Number 2
Name: arun.s
Date: November 24, 2005 at 20:30:57 Pacific
Subject: files copy from other system
Reply: (edit)

i used these two commands. its giving an error host/server name not known. what should i do...........



Report Offensive Follow Up For Removal

Response Number 3
Name: FishMonger
Date: November 24, 2005 at 23:27:13 Pacific
Subject: files copy from other system
Reply: (edit)

You're on a unix system and those commands gave you an error?

http://unixhelp.ed.ac.uk/CGI/man-cgi?rcp
http://unixhelp.ed.ac.uk/CGI/man-cgi?scp+1


Report Offensive Follow Up For Removal

Response Number 4
Name: arun.s
Date: November 25, 2005 at 00:59:56 Pacific
Subject: files copy from other system
Reply: (edit)

i want to transfer a file test from
machine:honda
path:/home/wq
to
machine:yamaha
path:/home/pkms

can anyone give me the command. what ever the command i tried its saying unkwnown host and i m not able to trace wat is the error in that.



Report Offensive Follow Up For Removal

Response Number 5
Name: Mukesh Kesharwani
Date: November 25, 2005 at 04:04:34 Pacific
Subject: files copy from other system
Reply: (edit)

if scp is enabled

scp /home/wq/test user@host:/home/pkms

or use ftp

To know the ftp automation u can see article on my website www.keekat.com

Mukesh Kesharwani
CISSP, CCNA, SCSA,CUA,CNA, MCSE,MCP+I,CCNSE,Certified HIPPA Security

http://www.keekar.com


Report Offensive Follow Up For Removal


Response Number 6
Name: Ibaul
Date: December 7, 2005 at 15:42:56 Pacific
Subject: files copy from other system
Reply: (edit)

scp or sftp will help you.

Ibaul, wbr


Report Offensive Follow Up For Removal






Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: files copy from other system

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software