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

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

files copy from other system

Reply to Message Icon

Name: arun.s
Date: November 22, 2005 at 21:38:45 Pacific
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




Sponsored Link
Ads by Google

Response Number 1
Name: FishMonger
Date: November 23, 2005 at 07:56:54 Pacific
Reply:

Sounds like a homework assignment

man rcp
man scp


0

Response Number 2
Name: arun.s
Date: November 24, 2005 at 20:30:57 Pacific
Reply:

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



0

Response Number 3
Name: FishMonger
Date: November 24, 2005 at 23:27:13 Pacific
Reply:

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


0

Response Number 4
Name: arun.s
Date: November 25, 2005 at 00:59:56 Pacific
Reply:

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.



0

Response Number 5
Name: Mukesh Kesharwani
Date: November 25, 2005 at 04:04:34 Pacific
Reply:

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


0

Related Posts

See More



Response Number 6
Name: Ibaul
Date: December 7, 2005 at 15:42:56 Pacific
Reply:

scp or sftp will help you.

Ibaul, wbr


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: files copy from other system

Idenifying files of size zero www.computing.net/answers/unix/idenifying-files-of-size-zero/3247.html

Simple, rename upper to lower www.computing.net/answers/unix/simple-rename-upper-to-lower/2676.html

add/remove ftp accounts dyn. www.computing.net/answers/unix/addremove-ftp-accounts-dyn/5106.html