I have a box running an SFTP server to which users are uploading directories full of files. The upload directory is acecssible on the UNC share \\ServerA\Documents\Uploads.
I am trying to write a script that will move and subfolder it finds in this share over to a share on another server. We can call that share \\ServerB\Processing\.
I can use Windows Explorer to successfully move a directory from \\ServerA\Documents\Uploads to \\ServerB\Processing\ howwever, if I open a command prompt and issue the command
move \\ServerA\Documents\Uploads\targetfolder \\ServerB\Processing\targetfolder
I receive an access denied error. Why would my permissions be different between Windows Explorer and the command line? How can I trouble shoot this?