Ok, follow up problem. I am using this script to upload files to a remote tablet.
When I map a network drive to the tablet using the tablet's IP address, the file copies over just fine with the drive letter as the upload path.
But I want to be able to upload directly to an IP address...