[PHP] sftp

2008-01-04 Thread blackwater dev
I have a script that has to make a connection via sftp and read the contents of a file. In the shell, I can simply type sftp [EMAIL PROTECTED] As I use the keys on the server so don't need a password. How can I make this connection in php so I can get the data contents nightly? We installed

Re: [PHP] sftp connecting to remove server via php

2007-12-15 Thread Richard Lynch
On Tue, December 11, 2007 2:01 pm, blackwater dev wrote: I have to write a script that will connect to a remove server using sftp and pull in specific files for processing. Currently I can get to the server by just using sftp [EMAIL PROTECTED] How can I open these files via php? Is the

[PHP] sftp connecting to remove server via php

2007-12-11 Thread blackwater dev
I have to write a script that will connect to a remove server using sftp and pull in specific files for processing. Currently I can get to the server by just using sftp [EMAIL PROTECTED] How can I open these files via php? Is the only way to use fopen with the PECL sftp, ssh2 modules? Thanks!

RE: [PHP] sftp connecting to remove server via php

2007-12-11 Thread Jay Blanchard
[snip] I have to write a script that will connect to a remove server using sftp and pull in specific files for processing. Currently I can get to the server by just using sftp [EMAIL PROTECTED] How can I open these files via php? Is the only way to use fopen with the PECL sftp, ssh2 modules?

RE: [PHP] sftp connecting to remove server via php

2007-12-11 Thread Jay Blanchard
[snip] Yes but will these handle sftp?  I have a key on the other server so don't need a password. [/snip] http://us.php.net/manual/en/function.ftp-ssl-connect.php always reply to all so the mail gets back on the list -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] sftp connecting to remove server via php

2007-12-11 Thread blackwater dev
Sorry, thanks for the info! On Dec 11, 2007 3:26 PM, Jay Blanchard [EMAIL PROTECTED] wrote: [snip] Yes but will these handle sftp? I have a key on the other server so don't need a password. [/snip] http://us.php.net/manual/en/function.ftp-ssl-connect.php always reply to all so the mail

[PHP] SFTP connections via PHP

2007-09-25 Thread Cameron Just
Hi All, Just wondering if anyone has had any success getting a connection working with PHP via SFTP. I am running Win 2003 Server PHP Version 5.1.6 Win32 OpenSSL v0.9.8e Light is installed PECL module for SSH2 is installed The following code - // create connetion

[PHP] SFTP problems

2005-06-19 Thread Lowell Allen
I need to use SFTP to send text files and binary files from one server to another, but I'm unable to use fopen on the remote server, and if I send with ssh2_scp_send the files are truncated. I'm assuming the libssh2-PECL/ssh2 installation isn't the problem because I'm able to connect using

[PHP] SFTP problems

2005-06-18 Thread Lowell Allen
I need to use SFTP to send text files and binary files from one server to another, but I'm unable to use fopen on the remote server, and if I send with ssh2_scp_send the files are truncated. I'm assuming the libssh2-PECL/ssh2 installation isn't the problem because I'm able to connect using

[PHP] SFTP problem

2005-06-18 Thread Lowell Allen
I need to use SFTP to send text files and binary files from one server to another, but I'm unable to use fopen on the remote server, and if I send with ssh2_scp_send the files are truncated. I'm assuming the libssh2-PECL/ssh2 installation isn't the problem because I'm able to connect using

[PHP] SFTP

2002-01-31 Thread Roman Duriancik
Exist some php scripts (commands) to update files in linux server throgh sftp protocol ? Thanks roman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail:

[PHP] is PHP sftp ready?

2001-03-20 Thread Nando2
Hello everybody, I already am familiar with PHP's ftp capabilities. My question though is if anyone has ever used or know wether PHP is compatible or not with sftp (OpenSSH secure FTP). If so, can I use the same libraries or is there any PHP extention that I must download in order to enable it.