Visit Our UNIX and Linux User Community


File transfer between unix and windows viceversa


 
Thread Tools Search this Thread
Special Forums Windows & DOS: Issues & Discussions File transfer between unix and windows viceversa
# 1  
Old 02-16-2008
MySQL File transfer between unix and windows viceversa

Hi,
My requirement is to connect to a windows system from unix fileserver and get some files then process them using shell scripting and database related stuff.it will generate some output.i have to copy again some files back to windows system at some directory.

How do i connect to windows from unix? Does it need special connection establishments between these 2 unix and windows?if yes,could any one tell me the total procedure . So far i dealt with connection establishments between unix to unix by installing one servers public keys on the other server.

How do i do it between unix and windows?

thanks in advance.
# 2  
Old 02-16-2008
You could use any one of the following protocols.
FTP, SMB, NFS, EMAIL, LPR/LPD, SSH, ODBC, HTTP

Make a list of the server services and clients available on the two machines.

Decide which machine is going to control the transfer.
Decide if this is going to be a background batch process, or a user controlled interactive process.
What protocols are you familiar with?
# 3  
Old 02-18-2008
MySQL File transfer between unix and windows

Hi,

Thanks for the reply.so far i have established connections between unix systems using ssh. so i am ok with SSH. Actually its Autosys controlled job.when the time comes autosys initiates this job ,so that ksh file attached to this job will execute.in that ksh file we have to write the code for connection to that windows system and gettting files from there and again connection to windows and putting files in windows server.

Totally this is an automated job.
How do i establish connection between windows and unix? and how do i connect to windows server from unix shell script. unix server is the controller.

thanks in advance

mohan.p
# 4  
Old 02-18-2008
Acquire Windows SSH server software sshwindows.sf.net: OpenSSH for Windows

Add the required get and put statements for sftp into your ksh script.

Previous Thread | Next Thread
Test Your Knowledge in Computers #993
Difficulty: Medium
Illumination is a free and open-source Unix operating system based on OpenSolaris.
True or False?

10 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

Cygwin script to transfer file from windows to UNIX

Hi, Objective is to transfer files from windows server to Unix server using cygwin. I have installed cygwin, and I manually execute commands and transfer files from windows to unix using sftp. These are steps I execute 1) Run cmd 2) Run cygwin 3) At prompt type sftp user1@uniserver 4) lcd... (2 Replies)
Discussion started by: wahi80
2 Replies

2. UNIX and Linux Applications

UNIX to windows XP file transfer

I am using Unix workstation to transfer a .txt file to my other Windows XP desktop using network. can u suggest some idea how to do. i am new to unix . (4 Replies)
Discussion started by: senthil17
4 Replies

3. Shell Programming and Scripting

file transfer from windows to unix using ftp

Hi all, I have a file in windows, example a.txt **** aaa bbb ccc <empty line> when i transfer this file to unix using ftp, and viewed the file # vi a.txt aaa bbb ccc # I dont get the empty line which i specified in that file in windows. Please help me, which in unix... (5 Replies)
Discussion started by: Nandagopal
5 Replies

4. UNIX for Advanced & Expert Users

How to transfer files from Unix to Windows.

Hi There is a requirement for me to transfer files from Unix to windows in an automation process of unix. Please let me know is it posibble to shell scripting this? Could you help me in scripting it? Regards Venugopal (2 Replies)
Discussion started by: venu_eie
2 Replies

5. UNIX for Dummies Questions & Answers

transfer file from unix to windows on same PC

Hi, Do any one know the shell script code to transfer a file from unix to windows on same PC (4 Replies)
Discussion started by: monika
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. Shell Programming and Scripting

shell script to transfer files from Unix to Windows

I need to write a shell script to transfer files from Unix server to windows machine. This script will be scheduled on scheduler to run at specified intervals #!/bin/ksh ftp -n alaska <<End-Of-Session user sss01 sample cd /home/sss01 lcd D:/sample mget *.txt bye when I executed the... (15 Replies)
Discussion started by: knag
15 Replies

8. IP Networking

How to Transfer a whole Directory from unix to windows using FTP?

Hi I can transfer a single file and multiple file from unix to widows using get and mget command.But i dont know How to transfer a whole directory from unix to windows using command. pls help me Ramkumar (1 Reply)
Discussion started by: ramkumarm83
1 Replies

9. Shell Programming and Scripting

transfer of files via ftp from windows to unix

I am currently looking to write a script to transfer files from a windows NT server to a unix server any ideas of how to go about this? (1 Reply)
Discussion started by: chambala5
1 Replies

10. UNIX for Dummies Questions & Answers

Trying to transfer b/w Unix and Windows

Hello everyone, I am trying to copy a large file from our SCO server to Win2000, burn it and then copy to our new server. Here's my problem. The file I am transfering is about 90 meg. When I use ftp from the windows machine and use the get command, it transfers the file but when I look at the... (6 Replies)
Discussion started by: dirtysparks
6 Replies

Featured Tech Videos