+ 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,966
    Thank Post
    248
    Thanked 49 Times in 45 Posts
    Blog Entries
    2
    Rep Power
    46

    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,406
    Thank Post
    640
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    324

    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,032 Times in 812 Posts
    Rep Power
    339

    Re: Copy file from W2K to Linux web server


  4. #4

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,836
    Thank Post
    517
    Thanked 2,476 Times in 1,919 Posts
    Blog Entries
    24
    Rep Power
    836

    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,966
    Thank Post
    248
    Thanked 49 Times in 45 Posts
    Blog Entries
    2
    Rep Power
    46

    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,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    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, 01:09 PM
  2. Linux File Server in Windows Domain...
    By Netman in forum *nix
    Replies: 2
    Last Post: 15th February 2007, 06:12 PM
  3. Replies: 4
    Last Post: 25th December 2006, 09: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, 06: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
  •