Find the answer to your Linux question:
Results 1 to 2 of 2
Can anyone please help me in writing a script to copy log files from linux to windows machine .FTP is not working Thanks in advance...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2010
    Posts
    1

    Copy files from linux to windows


    Can anyone please help me in writing a script to copy log files from linux to windows machine .FTP is not working

    Thanks in advance

  2. #2
    Just Joined!
    Join Date
    Aug 2009
    Location
    Mumbai, India
    Posts
    95
    Hi,

    As as alternate try CIFS on linux.
    1) Share a directory in windows
    2) Mount the shared directory in linux
    Code:
    mount -t cifs -o username=user,password=password,rw //server_ip_of_windows_system/sharename /mnt/dirname/
    3) Copy your log files to the mount point above
    Note: You could add the domain=domain_name option to the above command if you need domain authentication.

    --Syd

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •