Copying files from unix servers to other locations e.g. C directory


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Copying files from unix servers to other locations e.g. C directory
# 1  
Old 12-03-2010
Copying files from unix servers to other locations e.g. C directory

Hi,

I am just wondering is it possible to move or copy a file from a UNIX server to a different location e.g. the C drive on a computer?

I have used the
Code:
 cp

command to move files to different locations on unix servers but it would be handy to move a file to my C drive.

I am currently using .sh script to execute any commands.

Any help would be greatly appreciated.

Thanks in advance.

Last edited by crunchie; 12-03-2010 at 08:36 AM..
# 2  
Old 12-03-2010
use FTP command from your command prompt of windows to get that file.
R0H0N
# 3  
Old 12-03-2010
have a look at rcp,scp,ftp etc... one of these should suit your purpose...
# 4  
Old 12-03-2010
Thanks ill have a look at those now Smilie

Do you have any suggestions for sites that might have examples of files being transferred from a unix box towindows??

Last edited by crunchie; 12-03-2010 at 10:17 AM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell script for connecting multiple servers and then copying 30 days old files

Shell script for connecting multiple servers and then copying 30 days old files from those server . HI , I have 6 multiple servers pla1,pla2,pla3,pla4,pla5,pla6 1. These six servers have common shared mount point /var/share 2. Running script from /var/share to connect these servers.I... (1 Reply)
Discussion started by: rcroyal88
1 Replies

2. Shell Programming and Scripting

Copying files from parent directory only

Hello, Please can someone assist on a issue I am having. I want to find specific files in the parent directory only that have been modified over the last 2 days and copy them to another location. NOTE: The version of AIX I am using does not have MAXDEPTH. I have currently written the... (3 Replies)
Discussion started by: Dolph
3 Replies

3. UNIX for Dummies Questions & Answers

Help with Copying files between two remote servers

Hi All, Please help me for a shell. I am a New to unix I am trying to DB dump file from one server and copying it to another server. From My Local ServerA connecting to remote ServerB using ssh and taking dump of a instance. That Dump file i need to copy to ServerC. I am able to connect... (6 Replies)
Discussion started by: maddyd2k
6 Replies

4. AIX

Copying files between two servers

Hi, I have a 60 GB file (tar file) in server1 and I have mounted server2 (using nfs mount) on server1 and then I am copying the file from server1 to server2. Even after 6 hours, the file copying is still not completed. It has just copied 20 GB of file so far. Please help me identify this... (3 Replies)
Discussion started by: qAnand
3 Replies

5. Shell Programming and Scripting

Copying files to a directory

Hi, I am newbie to unix scripting, need a help in the doubt i have. It is " when files are copied to a directory using cp command, they are arranged by default according to the file name, is there anyway where the files that are copied be arranged with respect to their size, with using the sort... (5 Replies)
Discussion started by: pundalik
5 Replies

6. UNIX for Dummies Questions & Answers

Help in copying multiple files from th directory

Hey Guys, I have directory with thousands of files, I need to copy only march data. can any one please Help.......... Thanks, Uttam N (4 Replies)
Discussion started by: Uttamnsd
4 Replies

7. UNIX for Dummies Questions & Answers

Copying application directory from one unix box to another

Hi , if I copy an application directory (with all its subdirectories) from one unix box to another (suppose same version), will that application work in the 2nd unix box? (3 Replies)
Discussion started by: me_saby
3 Replies

8. Shell Programming and Scripting

Copying files to a directory

Hi I have a few questions. I am trying to copy a file to a directory. I need to copy files that do not end in numbers, for example, into a directory. This is what I tried so far. cp filename directorytowhereIwannacopy but it says it can't copy to a directory. I need to copy many files into one... (2 Replies)
Discussion started by: #moveon
2 Replies

9. Shell Programming and Scripting

Copying files from one directory into another.

Could someone please tell me if there is a command similar to head or tail that can be used on directories. I want to select a given number of files from a directory and copy them into another directory. But I found out I can't use head as it doesn't (or I don't know how yet!) work on directories.... (4 Replies)
Discussion started by: Krush187
4 Replies

10. UNIX for Dummies Questions & Answers

Copying files from one directory to Other

Hi UNIX Gurus, Could please help me out regarding following situation. I am copying some files from one directory to other directotry using following command. cp /var/tmp/*date*.gz /var/tmp/user/ Problem: Once the copy has completed, I need to check whether all the files (including... (3 Replies)
Discussion started by: satishkeshetty
3 Replies
Login or Register to Ask a Question