Ok, I think that my problem is getting fixed! I am able to upload large files to my web server, but they aren't getting anywhere after that. The files are saved as a random file name with an extention of .tmp.
Does anyone know what might be causing my files not to be sent through e-mail?
Small files work okay (there a little slow), but large files never make it through.
You guys have been very helpful so far, maybe soon, we will be able to get this going.
Tony
JF Loupe wrote:
I meet similar problems with the upload, using NT4 and IIS. I want to upload large files through the Intranet. To test this, I develop a small prototype of 2 files :
- input file :
<FORM ENCTYPE="multipart/form-data" ACTION="upload1.php" METHOD=POST>
Send this file: <INPUT NAME="fileupload" TYPE="file">
<INPUT TYPE="submit" VALUE="Send File">
</FORM>
- Action file :
<?php
echo "$fileupload$fileupload_name";
if ($fileupload_name!=""){
if (copy($fileupload,"c:\tmp\upload".$fileupload_name))echo "OK"; else echo "error";}
?>
This prototype works with small files, but in any case, this is very slow. I tried with a 40MB file and locally and the process takes more than 15 minutes. I repeat the test through the network on a server but the process never finished. I had to stop it with the task manager after 2 hours. Somebody can help me ?