File transfer from one server to another server in unix


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting File transfer from one server to another server in unix
# 1  
Old 11-27-2009
File transfer from one server to another server in unix

Hi,
Can anyone help me. I am a new user in unix. I want to transfer (ftp) a file from one unix server to another server. Kindly help me.

more details:
server 1
file_name a.lst
path: :/temp

server 2
path : /develp/temp


Thanks,
Raj,
# 2  
Old 11-27-2009
steps:
connection to server 2
cd /develp/temp
ftp server1
send user, password
cd /temp
get file_name a.lst
quit
# 3  
Old 11-27-2009
Hi easterraj,

i have try with sftp

$ cd /temp # this is on server 1 ur file a.lst is here
$ ls -lrt a.lst

$ sftp user@IPofServer2
sftp>? # for more help

sftp>cd /develp/temp

sftp>put a.lst .

sftp>quit

-------------------------------------------------------------------

also to get

sftp>get /server2/file/path /server1/path
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Do I require remote login access to a windows server to transfer files from a UNIX server

Hi All I need to transfer a file from a UNIX server to a windows server. I saw that it is possible to do this using scp command by looking at the forum listed below: ... (2 Replies)
Discussion started by: vx04
2 Replies

2. UNIX for Dummies Questions & Answers

File Transfer From one server to another server

How to transfer a file from one sevrer to another server ? Please explain it with examples with all alternatives. (4 Replies)
Discussion started by: Awadhesh Kumar
4 Replies

3. UNIX for Dummies Questions & Answers

Transfer file from server B to server C and running the script on server A

I have 3 servers A, B, C and server B is having some files in /u01/soa/ directory, these files i want to copy to server C, and i want to run the script from server A. Script(Server A) --> Files at Server B (Source server) --> Copy the files to Server C(Target Server). We dont have RSA key... (4 Replies)
Discussion started by: kiran_j
4 Replies

4. Windows & DOS: Issues & Discussions

Transfer of zipped folder from windows desktop to UNIX server

Hi all, I'm a newbie to unix. My requirement is to create an automation script which will transfer a zipped folder from my/remote desktop to an unix server. Tools lik WinSCP shouldnt be used. No manual moving. I use putty to connect to server. I couldnt find any help on this topic. Should i use... (3 Replies)
Discussion started by: sherin22
3 Replies

5. Shell Programming and Scripting

File Transfer from Window server to UNIX and UNIX to UNIX

Dear All, Can someone help to command or program to transfer the file from windows to Unix server and from one unix server to another Unix server in secure way. I would request no samba client. (4 Replies)
Discussion started by: yadavricky
4 Replies

6. HP-UX

File transfer between unix and windows server

hi all, I have two server(Unix tru64 and windows 2003 server). these server's live running now. The win2003server doesn't have ftp server. Also Unix server doesn't have samba. if both server's have ftp server that no problem. How to transfer file from windows server to unix by every... (2 Replies)
Discussion started by: Tlg13team
2 Replies

7. UNIX for Dummies Questions & Answers

Transfer contents from one unix server to another

Hi Guys, Well i dont have alot of experience in shell scripting. I am mostly into OOP. So i was given a task to "Transfer the contents of files in a zip format from one unix server to another unix server" What i am trying to do is create a shell script when runs will transfer all the... (8 Replies)
Discussion started by: chris1234
8 Replies

8. Shell Programming and Scripting

Transfer file from local unix server to remote server

want to remove this thread. thanks (2 Replies)
Discussion started by: indira
2 Replies

9. HP-UX

Transfer file from local unix server to remote server

want to remove the thread thanks (2 Replies)
Discussion started by: indira
2 Replies

10. UNIX for Dummies Questions & Answers

Transfer files from Unix server to Windows using FTP

Dear Friend, I don't know much about unix.I am an VB6.0 Programmer.I need to move an text files as aaa.txt from unix server to windows "D: " driver using the FTP protocol.Is it possible to do this with help of unix shell script.If possible please give some sample codes. Please answer as early... (1 Reply)
Discussion started by: gjsaravanan
1 Replies
Login or Register to Ask a Question