First, the FSO makes no differentiation if the drive is local or network (mapped drive or unc).
The fact that you state it works for a local path, but not a mapped drive or UNC path, screams permission-issue, as FengShui1998 eluded. Check both share permissions and file permissions(ntfs)...