What you could also do, is setup a ssh/telnet account on your NAS (most products should support that out of the box or via a plugin) and then use http://www.lag.net/paramiko/ to copy files locally via ssh. If paramiko is too much of a hassle use PSCP command line tool (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html). I have done things this way and it worked out ok for us.

On 05/24/2012 02:59 PM, Howard Jones wrote:
Cheers
We were trying to avoid moving as it meant a re-rendering the lot again for small changes but maybe its the lesser of the evils
Howard

    ------------------------------------------------------------------------
    *From:* Sebastian Elner <[email protected]>
    *To:* [email protected]
    *Sent:* Thursday, 24 May 2012, 13:51
    *Subject:* Re: [Nuke-python] os.shutil

    Hi,

    assuming you are in a winows world with a NAS running samba: yes
    it does copy it locally and then back to the server. at least it
    does here with win xp. The only thing which can be done on the
    server completely is moving stuff (try moving big files in
    explorer from one NAS location to another NAS location. Have not
    tried in Python though....)

    Cheers

    Sebastian

    On 05/24/2012 02:45 PM, Howard Jones wrote:
    Hi

    I'm using shutil to copy some files across from a network drive
    to another location on the same drive with a new name.
    This is being run from a users machine.

    The question is, does the copy function involve copying the file
    into the user's machine's memory and then back on to the network,
    or does it do this all on the network drive.

    If its is going via the user's machine, is there a way to only do
    this via the network. It's a NAS mounted drive.

    Probably a dumb question if you're a admin guy but I'm not so
    hence the dumb question ;)
    Howard


    _______________________________________________
    Nuke-python mailing list
    [email protected]  
<mailto:[email protected]>,http://forums.thefoundry.co.uk/
    http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python


-- Sebastian Elsner - pipeline td - r i s e | fx

    t:  +49 30 [email protected]  <mailto:[email protected]>
                                               www.risefx.com  
<http://www.risefx.com>

    r i s e |  fx  GmbH
    Schlesische Strasse 28 Aufgang B, 10997 Berlin
    Geschäftsführer: Sven Pannicke, Robert Pinnow

    Handelsregister Berlin HRB 106667 B


    _______________________________________________
    Nuke-python mailing list
    [email protected]
    <mailto:[email protected]>,
    http://forums.thefoundry.co.uk/
    http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python




_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python


--
Sebastian Elsner    -    pipeline td   -   r i s e |  fx

t:  +49 30 20180300                 [email protected]
                                          www.risefx.com

r i s e |  fx  GmbH
Schlesische Strasse 28 Aufgang B, 10997 Berlin
Geschäftsführer: Sven Pannicke, Robert Pinnow

Handelsregister Berlin HRB 106667 B

_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to