FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Send large files across host





fladry
Is there any method to send large files across hosts? by email or something?
rickylau
May be FTP? How large the files are estimated to be? You may need to notice if the files can be transfered within the PHP execution time limit.
fladry
About 20 MB to 30 Mb. Does php allow it?
cemycc
fladry wrote:
About 20 MB to 30 Mb. Does php allow it?


No. You need to edit php.ini to allow it .

Find this values and edit them :
Quote:
memory_limit = 96M
post_max_size = 64M
upload_max_filesize = 64M
rickylau
cemycc wrote:
fladry wrote:
About 20 MB to 30 Mb. Does php allow it?


No. You need to edit php.ini to allow it .

Find this values and edit them :
Quote:
memory_limit = 96M
post_max_size = 64M
upload_max_filesize = 64M
It matters on POST upload not the PHP's FTP module (I think), I would think the only limitation is whether the file can be upload within execution time. Maybe a test with that size of file should be performed (It is not accurate to tell now due to unknown bandwidth between your servers), if it fails often, you may split the file into smaller parts and upload them, then re-assemble on the other side (should be able to accomplish by few PHP lines, too)

Ahh, if you are able to edit php.ini, raising max_execution_time will help in case of before-mentioned situation if i'm not wrong.
thedinh
I thanks there a few methods to send large file in our Host.
If you want to share large file you should use the professional service like Magaupload, mediafre or Rapidshare.
jmraker
If you're using the apache webserver, instead of editing php.ini you can create a .htaccess file in the directory of the script and set the options there and decide on the maximum file size you want uploaded

.htaccess (with a 100meg max)
Code:
php_value upload_max_filesize 100M
php_value max_execution_time 800
php_value post_max_size 100M
php_value max_input_time 100
php_value memory_limit 120M
Related topics
File size
Wireless networking
30Gb of e-mail space. Insane
TUTORIAL => Compress your BSP Files with BZIP2
Installing Apache Php and MySQL [newbie tutorial]
Sending LARGE files through internet --> how?
Google...the ISP?
AJAX tutorial [2nd part now updated]
Exporting from Blueyonder to Frihost
Windows XP Tricks & Tips!!!!
New anime website being started
The "Make Money Online" Schemes
Firefox/LAN problem
what is your best free e-mail?
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.