+ 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
    Location
    x-communicated
    Posts
    4,090
    Blog Entries
    2
    Thank Post
    190
    Thanked 44 Times in 40 Posts
    Rep Power
    42

    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. IDG Tech News

  3. #2

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,284
    Blog Entries
    2
    Thank Post
    598
    Thanked 879 Times in 617 Posts
    Rep Power
    287

    Re: Copy file from W2K to Linux web server

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

  4. #3


    Join Date
    Jan 2006
    Posts
    6,456
    Thank Post
    324
    Thanked 740 Times in 557 Posts
    Rep Power
    201

    Re: Copy file from W2K to Linux web server


  5. #4

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Bristol
    Posts
    12,970
    Blog Entries
    24
    Thank Post
    438
    Thanked 1,501 Times in 1,178 Posts
    Rep Power
    459

    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.

  6. #5
    mark's Avatar
    Join Date
    Jun 2005
    Location
    x-communicated
    Posts
    4,090
    Blog Entries
    2
    Thank Post
    190
    Thanked 44 Times in 40 Posts
    Rep Power
    42

    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?

  7. #6
    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,056
    Blog Entries
    1
    Thank Post
    104
    Thanked 439 Times in 380 Posts
    Rep Power
    114

    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, 02: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
  •