I have a need to copy files placed in a network location into a SharePoint document library each morning.
I've tried to do this with a batch file that uses xcopy to copy from the shared drive, to SharePoint, like so;
xcopy "\\networkdrive\Files and Folders" "\\sharepoint\re\KC\System Report\" /Y
Unfortunately this throws the error:
File creation error - The directory is not empty.
Unable to create directory - \sharepoint\re\KC\System Report\ 0 File(s) copied
Is there a reason for this I can correct and if not what would be the best way to automate this process?