copy file to remote computer
Posted: Tue Aug 26, 2008 9:24 am
I use HTTP with CURL/file_get_contents/fopen to copy/write file contents from remote server to local file.
Now, I need to copy local binary file into remote Win XP computer: C:/remote-folder-path/file . I only have remote IP address. This remote computer is not on LAN, if computer was, then very easy; simply cut and paste
.
I tried using PHP FTP: ftp_connect but I think remote computer needs FTP program to be installed for it to work.
Can this be done with fsockopen and send file through open port? Or some other way?
Now, I need to copy local binary file into remote Win XP computer: C:/remote-folder-path/file . I only have remote IP address. This remote computer is not on LAN, if computer was, then very easy; simply cut and paste
I tried using PHP FTP: ftp_connect but I think remote computer needs FTP program to be installed for it to work.
Can this be done with fsockopen and send file through open port? Or some other way?