Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I inherited a script that moves documents from a web server (unix) to a sharepoint document library via robocopy.

The script looks like this:

net use v: \\webserver\share /user:u p
robocopy v:\ "\\internalserver\docs\Indexing Library" /MOV
net use v: /d /yes
exit 

Now, I can connect to the webserver and browse the files appropriately. However, when I run robocopy, I get this error:

Error 67 - Getting File System Type of Destination \\internalserver\docs\Indexing Library\
The network name cannot be found.  

Now, I can ping \\internalserver and I get a successful response back. However, if I ping \\internalserver\docs, I get an error back. The \docs is the Sharepoint document library, so I am not even sure whether I should be able to ping that or not.

Regardless - How can I correct this so I can connect to the network folder?

share|improve this question
    
is 'webserver' a FQDN or a machine name? –  Dave Wise May 17 '12 at 15:13
    
what OS are you trying to run this script on? –  David Lozzi May 17 '12 at 15:19
    
@DaveWise webserver is an ip address - it's a non-public server that's only used for uploaded documents. –  mikebmassey May 17 '12 at 16:04
    
@DavidLozzi webserver is unix. internalserver is Windows Server. There is a 3rd server in the middle that actually runs the script, which is Windows Server as well. –  mikebmassey May 17 '12 at 16:04
    
has it run on this server before? –  David Lozzi May 17 '12 at 16:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.