Wim Vandersmissen wrote: >>> if(PathIsNetworkPath(secret.m_strScriptFile)) >>> { >>> connection.AddConnection(secret.m_strScriptFile, >>> secret.m_strScriptConnUser,secret.m_strScriptConnPassword); >>> AddMessageToMessageLog("Network resource: successfuly connected"); >>> } >>> >>> WPKG versions used - wpkg 0.9.10 and wpkg-installer 0.90 >>> >>> Manually doing a net use \\ip\wpkg and then running cscript \\ip\wpkg /verbose >>> /synchronize works just fine. >>> >>> Any idea ? >> Do you use credentials to access that share? > Oops, seems like I forgot to mention that. > Yes I use credentials So, it looks like you specified invalid credentials. Try to use: WORKGROUP\username or DOMAIN\username + password instead of just: username + password. -- Tomasz Chmielewski http://wpkg.org . _______________________________________________ wpkg-users mailing list wpkg-users at lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users |