I'm on hour one of looking at using ftp functions instead of uploads and have numerous stupid questions but here's one that gors straight to the core.
Using examples from the PHP manual I am connecting fine, even changing directories but the upload just won't. I am defining variables:
<?php
$ftp_server="$ftp_user_name="mylogin";
$ftp_user_pass="mypass";
$destination_file="uploadfile.txt";
$source_file="a:\uploadfile.txt";
etc etc
then onto the important bit
$upload = ftp_put($conn_id, $destination_file, $source_file, FTP_BINARY);
I know I'm doing (or not doing) something very obvious and/or silly so be gentle with me - HELP!
Using examples from the PHP manual I am connecting fine, even changing directories but the upload just won't. I am defining variables:
<?php
$ftp_server="$ftp_user_name="mylogin";
$ftp_user_pass="mypass";
$destination_file="uploadfile.txt";
$source_file="a:\uploadfile.txt";
etc etc
then onto the important bit
$upload = ftp_put($conn_id, $destination_file, $source_file, FTP_BINARY);
I know I'm doing (or not doing) something very obvious and/or silly so be gentle with me - HELP!