开发者

Drupal large files upload and download

I developed a web site using Drupal 6 and I need to allow users to upload and download large files (up to 200 MB). Can anyone tell me please h开发者_运维问答ow is this usually done? Because I don't know if this is best to do using HTTP, maybe there is other way.

The site is hosted in a dedicated web host and I don't have access to php.ini or other server configuration.

Which is the best way to do this?

Thank you.


FYI, the values are: upload_max_filesize and post_max_size


To start with, you need to find out what PHP's upload_max_filesize and post_max_size are. Have a look at the output of php_info() to find current settings. If they are > 200MB, you're OK to use HTTP already using any Drupal module that deals with file uploads.

If either setting is smaller, you can try to alter them at runtime with ini_set(), .htaccess, or a couple of other methods as per here but this may or may not work, depending on your host.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜