Re: Hoping for a working example of SFTP in PHP

From: Date: Sun, 07 Feb 2021 21:14:16 +0000
Subject: Re: Hoping for a working example of SFTP in PHP
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17  Groups: php.general 
Request: Send a blank email to php-general+get-327472@lists.php.net to get a copy of this message
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@springtimesoftware.com> 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 >

« previous php.general (#327472) next »