Re: [PHP] Re: SFTP problems

2005-06-20 Thread Lowell Allen
On Jun 20, 2005, at 11:19 AM, JB05UK wrote: Read the php man, it says to use the 'b' flag for binary files, infact it says to use it most the time anyway, if im not mistaken. Substituting "wb" for "wt" also fails. As I said in my OP below, I need to send both text files and binary files, and

Re: [PHP] Re: SFTP problems

2005-06-19 Thread M. Sokolewicz
Lowell Allen wrote: On Jun 19, 2005, at 12:37 PM, M. Sokolewicz wrote: Lowell Allen wrote: 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 as

Re: [PHP] Re: SFTP problems

2005-06-19 Thread Lowell Allen
On Jun 19, 2005, at 12:37 PM, M. Sokolewicz wrote: Lowell Allen wrote: 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-PE