Re: Hoping for a working example of SFTP in PHP

[email protected] (David Spector)
Newsgroups php.general
Message-ID <[email protected]>
They look correct to me:

local file C:\Dropbox\Private\Web\nsr-HMAC\upload\test.txtremote 
/home/nsr/public_html/test.txt

I've been debugging by printing out values all throughout the past few 
weeks of working on these examples. The only frustration is that our 
network environment is like black boxes. We don't have the feedback from 
SFTP and security processes to know exactly what's going on behind the 
simple "copy" function. All we know is that it doesn't work.

The experts, who know all this stuff inside-out, don't care to share 
their knowledge, so far as I can tell. There's probably just one little 
twist of knowledge omitted that is keeping us from success.

I guess at some point I have to give up on "copy" and just use the 
ssh2_scp_send function.

A big failure for PHP documentation and error messages, which should 
both help a programmer achieve success. I did much better than this in 
my own systems and tools programming during my 40 year career as a 
software engineer.

Thanks, Eric, for all your help.

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.