win32 samba shares

From: Bill Kurland (bill_at_shakespeare-nyc.com)
Date: 08/16/04

  • Next message: DoTomkinsOutDratdSpam_at_yahoo.com: "Re: win32 samba shares"
    Date: Sun, 15 Aug 2004 21:03:41 -0400
    
    

    I have written a perl program that runs under Windows 2000 and it would be
    very useful to be able to move files created by the program onto a unix
    server when the program exits. I thought I might do this by mapping a Samba
    share from the unix box and moving the the files over with Win32API::File or
    system(). But I don't know
    1) how to be sure what drive letter Windows used to map the remote
    directory, which I guess really comes down to knowing how to ask Windows if
    a particular drive is a network share,
    2) whether the directory is actually writable - will -W work as expected ?
    3) how to remount the directory from within perl if it isn't available. I've
    looked without success for a module that does this as I expect it is beyond
    my modest skills.

    I would be greatful if anyone could suggest ways to achieve these things or
    perhaps suggest an alternative approach.

    Thanks

    -- 
    Bill Kurland
    Shakespeare & Co.
    

  • Next message: DoTomkinsOutDratdSpam_at_yahoo.com: "Re: win32 samba shares"

    Relevant Pages

    • Re: split a big program into multiple files
      ... My application is a Tk GUI based perl program to manage a touristic ... main subroutine plus a couple of service for each windows. ...
      (comp.lang.perl.misc)
    • Re: Something likes crontab on Unix.
      ... How to make Perl program that run it every 10 minutes and don't visibly slow ... Something likes crontab on Unix. ... Windows has sheduled tasks, see: ... sleeps for 10 minutes does processing and sleeps again for 10 min? ...
      (comp.lang.perl.misc)
    • Unknown problems with the serial port
      ... The electron microscope is controlled by a Windows machine, ... from it to the Linux box with SSH and start the perl program. ... Linux machine is connected to the Windows machine with a serial cable ... an error from the microscope as it doesn't match any command it knows. ...
      (perl.beginners)
    • Re: Accessing Win32 remote scheduled tasks
      ... This is a COM security problem, not an issue with your Perl program. ... the permissions on the remote server? ... and the server is IIS 6 running on a Windows 2003 box. ...
      (comp.lang.perl.misc)
    • Re: split a big program into multiple files
      ... My application is a Tk GUI based perl program to manage a touristic ... campsite. ... main subroutine plus a couple of service for each windows. ...
      (comp.lang.perl.misc)