Re: Hoping for a working example of SFTP in PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux