I just tested with a non writable directory on the remote and get a different error.
Echo the variables before the call to copy just to know for sure they have the right values.
print "local file " . $localFile
print "remote ". $remoteFile
Thanks
On Sun, Feb 7, 2021, 12:46 PM David Spector <david025@xxxxxxxxxxxxxxxxxxxxxx> wrote:
Dear Eric, I in your program, I have:
copy($localFile, $streamUrl)
According to the PHP Manual, this is correct. It will copy the local
file to the destination.
I don't know how to debug this further.
David