in reply to Move function not working with UNC
Try this :
move($sourceDir."\\".$file, $destinationDir."\\".$file) or die "move: $!\n";It's most likely that you don't have the double backslashes ("\\\\") at the beginning of the paths. Forward slashes are easier to deal with and work with File::Copy. Also refer to -X for file tests. Test if the file exists so you know you have the path set up correctly before attempting to move it.
|
|---|