Re: Hoping for a working example of SFTP in PHP

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

 



Dear Jonesy,

While I appreciate your participation, your example appears to be a command line instead of PHP code. Also, I don't see the required SFTP parameters.

Here are the specific parameters for SFTP in PHP, with examples for each, if they are of help:

$hostDomainName (example.com)
$securePort (22)
$user (fred)
$password (userpass)--may not be needed
$keyPath (C:/Users/david/sec/privKey.key)
$passphrase (privkeypass)
$remoteDir (public_html)

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