+ Post New Thread
Results 1 to 6 of 6
*nix Thread, Copy file from W2K to Linux web server in Technical; I want to automate the copying of a daily created file from a windows 2K file server into a web ...
  1. #1
    mark's Avatar
    Join Date
    Jun 2005
    Posts
    3,987
    Thank Post
    275
    Thanked 52 Times in 46 Posts
    Blog Entries
    2
    Rep Power
    48

    Copy file from W2K to Linux web server

    I want to automate the copying of a daily created file from a windows 2K file server into a web folder on my slackware server.

    Any help please

  2. #2

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,422
    Thank Post
    645
    Thanked 967 Times in 667 Posts
    Blog Entries
    2
    Rep Power
    328

    Re: Copy file from W2K to Linux web server

    Command line SCP (Secure copy) app - PSCP from here.

  3. #3


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,033 Times in 813 Posts
    Rep Power
    341

    Re: Copy file from W2K to Linux web server


  4. #4

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    18,529
    Thank Post
    527
    Thanked 2,648 Times in 2,049 Posts
    Blog Entries
    24
    Rep Power
    925

    Re: Copy file from W2K to Linux web server

    I would say the easiest way would be to set up samba on the linux box and a scheduled task on the windows box which runs a xcopy.

  5. #5
    mark's Avatar
    Join Date
    Jun 2005
    Posts
    3,987
    Thank Post
    275
    Thanked 52 Times in 46 Posts
    Blog Entries
    2
    Rep Power
    48

    Re: Copy file from W2K to Linux web server

    K right thanks. Rsync would be what i'd like to do, would easily cure the problem of copying over new files.

    As this file could appear anytime, i'd need to check repeatedly. What are the commands to run cron?

    How do I attach to a windows share from linux - what's the command?

  6. #6

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    Re: Copy file from W2K to Linux web server

    What are the commands to run cron?
    You must edit the system crontab. It's located at /etc/crontab. If your confused about the format of the file, consult the man page (man crontab).

    How do I attach to a windows share from linux
    mount -t cifs <mountpoint> //<server>/<share>

    You may wish to set things up in /etc/fstab though so Linux mounts the share on bootup.



SHARE:
+ Post New Thread

Similar Threads

  1. Linux NAS or Server 2003 R2 File server
    By jonathan.lees in forum *nix
    Replies: 8
    Last Post: 27th March 2008, 02:09 PM
  2. Linux File Server in Windows Domain...
    By Netman in forum *nix
    Replies: 2
    Last Post: 15th February 2007, 07:12 PM
  3. Replies: 4
    Last Post: 25th December 2006, 10:15 PM
  4. Copy a file to many destination folders.
    By fooby in forum Windows
    Replies: 1
    Last Post: 14th June 2006, 03:18 PM
  5. Replies: 4
    Last Post: 23rd March 2006, 07:27 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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