How about later on when I want to upload a file? I need something like ftp_mkdir except for files. Just plain "copy" means permission denied, which I understand as Im now cmodded to 755.
The only command in the manual that looks half sutiable is ftp_fput, but Im struggling with parameters. I have
ftp_fput ($conn_id, $_FILES['imagefile']['tmp_name'], "users/$folder/$mysite_username_l/".$_FILES['imagefile']['name'], FTP_ASCII)
and error is
Warning: ftp_fput() expects parameter 1 to be resource, string given.
If I redefine $conn_id right above the line (i dont understand why i need to do this since Ive defined it just a few lines higher) the error changes to
Warning: ftp_fput() expects parameter 3 to be resource, string given.