XUpload - How to fix the Upload and Transfer complete problem!

Posts: 3
Joined: Sep 05, 2006 12:28 am

How to fix the Upload and Transfer complete problem!

#1 Postby TAiS46 » Sep 05, 2006 1:33 pm


if you have an Windows Server and get an Transfer complete but no Upload, change the fallowing files:


Code: Select all

Change: temp_dir        => '/.../temp',
to your windows absolute path!
You can see it, if you create an file and write
<?php phpinfo() ?>
in it!

My absolut Path ist: C:\inetpub\vhosts\testdomain.de\
so Change temp_dir        => '/.../temp',
to: temp_dir        => 'C:\inetpub\vhosts\testdomain.de\cgi-bin\temp',
also change the upload and templates dir!


Code: Select all

Find: rename($temp,"$dir/$fname");
Change to: move($temp,"$dir/$fname") || copy($temp,"$dir/$fname") || die"Can't copy file from temp dir";
Also add: use File::Copy;
inthe top of the file!


Code: Select all

Remove on line 34 the '#' (sleep 1;)
if that not help, change ist to 3 or 5!

I hope i have help!
Sorry 4 bad english!

Return to “XUpload”