On Mar 27, 6:48 pm, Teja <[EMAIL PROTECTED]> wrote:
> On Mar 27, 8:34 am, Astan Chee <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
> > I have afileon another machine on the localnetwork(my machine and
> > local machines are on windows) and I want tocopyit locally. Now the
> > machine requires authentica
Well, the solution seems to be something like (windows only)
import os
import os.path
import shutil
import sys
import win32wnet
def wnet_connect(host, username, password):
unc = ''.join(['', host])
try:
win32wnet.WNetAddConnection2(0, None, unc, None, username, password)
excep
En Thu, 27 Mar 2008 00:34:20 -0300, Astan Chee <[EMAIL PROTECTED]> escribió:
> I have a file on another machine on the local network (my machine and
> local machines are on windows) and I want to copy it locally. Now the
> machine requires authentication and when I try to do a
> import shutil
> sh
On Mar 27, 8:34 am, Astan Chee <[EMAIL PROTECTED]> wrote:
> Hi,
> I have afileon another machine on the localnetwork(my machine and
> local machines are on windows) and I want tocopyit locally. Now the
> machine requires authentication and when I try to do a
> import shutil
> shutil.copy(r'\\remote