Computing Staff
  • 2

Automate Tranfer Of File From Unix System To Windows.

  • 2

Automate tranfer of file from unix system to windows.

I need to automate tranfer of file from root directory of unix system to xyz directory of windows system.
I wish to perform the activity through some scheduled job at windows system.
What all things i need to have or install in the systems?
Any help would be greatly appreciated

Share

2 Answers

  1. Your first step is to talk with the sysadmins of the UNIX system to find out what type of connections they allow.
    Most sysadmins will disable ftp access for security reasons and require all connections to be made over a secure ssh channel. If that’s the case, then you’ll want to use either rsync or scp and setup the public/private ssh keys.

    Some admins setup samba shares which allow you to map a drive to it and use the Window’s copy command to get the file.

    If their security is more relaxed, you could use wget or as a last resort ftp to get the file.

    • 0
  2. It depends upon what facilities you have available on the Unix system, what you are able to install, and whether you want to keep back copies of the file or just want to keep it synchronized with the Unix system. Just saying “Unix system” is a bit vague.
    In the latter case, if rsync is available, it’s a good choice. But if you want to keep multiple copies of the file it may be better to write a batch script that transfers the file daily using FTP or SMB. Both of those depend upon you having the appropriate software running on the Unix system. NFS may be a better choice, again if it is available to you.

    • 0