Transfer files from Unix to Windows

Discussion in 'Software' started by NoClue119283983494, Jul 11, 2008.

  1. NoClue119283983494

    NoClue119283983494 Private E-2

    I hope someone can point me in the right direction, I feel like I'm going in circles.

    I currently have a bat file which pulls files from windows server A to windows server B (the bat file resides on B). It does this using xcopy and it only pulls new or more recently modified files.

    Well, windows server A is going away. We are moving to UNIX server Y. All the files that were on windows server A now live on Unix server Y and I need to modify my bat file to do the same thing it's always done, just using server Y instead of A.

    I've looked at sftp (not sure about the 'login' parts in batch mode and I can't figure out how to only get the modified files).

    I've looked at ftp...yeah, no idea how to connect to the UNIX server using ftp.

    I've read about a million other things...but I'm totally stuck. I can't install anything on either of the servers. I can use open source code.

    Please help. I am NOT a person who uses Dos or UNIX commands with any regularity (I can stumble around in there...but not very efficiently). I've been working on this for 5 days now. It is becoming ridiculous.
     
  2. Maxwell

    Maxwell Folgers

    ftp should work. You will need an account and password on the UNIX server, unless they allow anonymous ftp. Command is "ftp <hostname>" where <hostname> can be either the IP address of the UNIX machine or its hostname recognised by your network. You will then be prompted for your account and password. Try "anonymous" for both if you do not have a specific account and password. These can be stored in a protected ".netrc" on your account on the UNIX server to save you from having to enter account and password each time (assuming your security policy allows you to use such a file) but this may need updating on password expiry.

    However, I get the impression you want to do more than just transfer a file. Are you wanting to only transfer updated or modified files? If so, use the ftp commands "dir" or "ls" to list files and store them in a local file that you can compare. Changes to the file list can then be ftp'd across.
     
  3. NoClue119283983494

    NoClue119283983494 Private E-2

    Yep, this is the part that I have been ESPECIALLY struggling with. I thought for sure there must be a way to do this automatically and I just wasn't finding it (hence the 5 day search). I might end up doing something along those lines. Thanks for the suggestion!
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds