Visit Our UNIX and Linux User Community


How do i transfer files


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users How do i transfer files
# 1  
Old 09-18-2001
How do i transfer files

Im trying to transfers a file from one unix server to another , make some changes and then send it back to the original server. All this using modems.

I've been using "cu" and i can "get" the file but i can't "put" it. Besides I need to do this using a shell script. I can write a script to get te file but i canīt do it for put the file. Is there another way to move files than cu?

Last edited by phsoft; 09-18-2001 at 01:50 PM..
# 2  
Old 09-18-2001
In cu, instead of "get", which is not a command that "cu" knows, you need to use "take". Same concept, just a different name from the command.

With "expect", a popular public domain package, you can automate cu.

There is also uucp, which will work great once it's set up. And if have cu running, you're part way there. The learning curve to setting up uucp is a little steep. And getting help may be hard...it's been over 10 years since I last worked with uucp and I can't imagine that many people are still using it. The O'Rielly book on uucp was a big help, but I'm not sure if it's still in print.

There are packages like SLIP and PPP that can run tcp/ip over modems, but I get the impression that tcp/ip is not an option?
# 3  
Old 09-19-2001
SSH

How about using SCP: secure copy?
# 4  
Old 09-19-2001
SCP?

I dont know if it will work, could you explain a little more
# 5  
Old 09-19-2001
SCP

Secure Copy can transfer files like the 'rcp' command but uses an encrypted 'tunnel' to send the data through. It is thus safe from intruders and snoopers. You need SSH software for it (OpenSSH) and a set of SSH keys (1 public and 1 private key) that are used to authenticate your scp or ssh (secure shell).

Previous Thread | Next Thread
Test Your Knowledge in Computers #179
Difficulty: Easy
The Apple I first went on sale in July 1976 and sold for $666 USD.
True or False?

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Not able to transfer files using between server A and B

Hi All, I have generated public and private pair to avoid to enter password manually while sending files through sftp. But still I am facing issues and every-time prompt asking enter password. Below are steps I fallowed to make ssh connection between two servers. 1. Generated public and... (5 Replies)
Discussion started by: renukeswar
5 Replies

2. UNIX for Dummies Questions & Answers

How to Transfer a LIST of FILES?

Hallo guys, I am new to Linux, I like to transfer multiple files from server A to server B. Source files URLs (from server A) are in a file called "list.txt" Eg. in list.txt (these links are selective URLs, not all the files in a directory) user@host/var/www/files/file1.txt... (5 Replies)
Discussion started by: bjsh_04
5 Replies

3. Linux

How to transfer files...

Hi guys, ok so, how do you go about networking between Windows and Linux so that I can transfer files between each other? (5 Replies)
Discussion started by: billcrosby
5 Replies

4. UNIX for Dummies Questions & Answers

How to transfer files from one machine to another?

Hello - I am wondering what would be a command to copy files from one machine to another unix machine? For example: I am currently logged into: beta-machine01 my current directory is: /home/router I want to copy file from machine: beta-machine02 the file is located inside:... (1 Reply)
Discussion started by: DallasT
1 Replies

5. Shell Programming and Scripting

Script to transfer files

Hi, I am new to scripting, I need to write a script to transfer .TXT files from Server A (ftp) to Server B. Once the files in server B i need to transfer it to server C (sftp). (not transfer of files directly from server A to Server C ) Thanks! Regards Sendhil ---------- Post updated at... (3 Replies)
Discussion started by: Sendhil.Kumaran
3 Replies

6. HP-UX

Transfer Files from Windows to HP-UX

I need to transfer files from Windows to Hp-UX box with out any software(Filezilla ...., Fsecure file transfer) Is it possible to transfer using command prompt ? (6 Replies)
Discussion started by: girija
6 Replies

7. Shell Programming and Scripting

Transfer Of Files

How to transfer the files in windows server to the unix server by using the unix or ftp commands? (1 Reply)
Discussion started by: vinay123
1 Replies

8. UNIX for Dummies Questions & Answers

How to transfer files

please help me to transfer files from one server to another one i am having problem in it thanks (1 Reply)
Discussion started by: pankaj001np
1 Replies

9. UNIX for Dummies Questions & Answers

How to transfer files

(0 Replies)
Discussion started by: spoonman
0 Replies

Featured Tech Videos