A web based upload is always limited to the max upload size, because the upload is processed by the web server and not the ftp server.
The curl/ftp function is used to send the file from your web server to another ftp server (this might be the same server too).
do you tried the php_value setting in your .htaccess file?