Im trying to put together a PHP FTP utility, as a mini project at work, and although ive got downloads working fine, im stuck with the upload bit. Im using IIS for the FTP and Apache for the front end on the same server.
Im stuck on the exact syntax ofthe ftp_put function. Inparticular,
ftp_put($conn_id, $remote_file, $file, FTP_ASCII)
when using the code above, remote_file variable would mean the file to be saved to the ftp server, but for the $file variable, would that be the file on the client, or the same path that the upload script resides?
I ask this because i cant seem to get the script working, ive taken the syntax from http://uk3.php.net/manual/en/function.ftp-put.php
Any help, much appreciated!