How to upload files to a remote server?
Posted: Fri Apr 23, 2010 5:35 am
I want to transfer images to a remote server, I have dedicated server for storing images, when user uploads files in my site. That image server supports only SFTP protocol, and I tried to use http://sourceforge.net/projects/libssh2/, but it did not work. I was not able to connect to my dedicated server. Then I tried to setup http://pecl.php.net/package/ssh2, but I did not find latest release and I could not install it on my server.
Does anyone knows how to transfer files to a remove server using PHP script through SFTP?
Does anyone knows how to setup SSH2 in my server?
If you have done this before or you know how to do this, please let me know.
I would be happy if you provide real examples!!!
Thanks in advance,
Does anyone knows how to transfer files to a remove server using PHP script through SFTP?
Does anyone knows how to setup SSH2 in my server?
If you have done this before or you know how to do this, please let me know.
I would be happy if you provide real examples!!!
Thanks in advance,