|I downloaded this script and it is working (at least example). |
But now I need to make something like this - I run PHP script from localhost, it connects to remote server and downloads a file to my computer. File is in SFTP server. I don't know, maybe I am using wrong script or something. Actualy I have no idea how to do this using your script, but I have feeling, that this is exactly what I need.