UltraSmooth
Programmer
I'm trying to copy some files from a network path from within a servlet. I realize that I cannot use drive letter mappings as they are profile specific. Instead I'm trying to use the unc path. I'm getting the following error when I read the error inputstream from the process:
Command: xcopy \\COMPUTER\FOLDER\File.dat C:\FOLDER\ /Y
0 File(s) copied
Invalid drive specification
Exit code: 4
What permissions should I put on the shared folder to allow this, or is it a path problem?
Any help would be appreciated.
Command: xcopy \\COMPUTER\FOLDER\File.dat C:\FOLDER\ /Y
0 File(s) copied
Invalid drive specification
Exit code: 4
What permissions should I put on the shared folder to allow this, or is it a path problem?
Any help would be appreciated.