I've got a site that I could easily add hundreds of DL files to. My php.ini as set by my hosting is set at max upload size of 10MB. This is restrictive. Many files are much larger than this upload limit. I don't fault the host, because uploads are slow, especially large ones directly from user computer files.
FTP has gotta be the way to do it, but giving permissions for large upload files is just not feasible to be handled individually by the admin.
I realize there is an FTP function with the DL manager, but I'm not sure about how to use it.
I am hoping the FTP function in DL manager will be the end-all answer to large uploads with good MIME type checking, permissions for submittal, with approval of the final uploaded file by admin.
Do other TP users have a lot of DL on their sites, some pretty large files, and just how do you do handle the uploading of large files(over 10MB) from users?
Once the site is built I have no control of how people do things, but at least if I have the proper tools setup things will go efficiently.
I've been telling users to use the winrar tool and create a packet of zip files for large download files. This way they can submit their download files in increments less than 10MB.
Most users are willing to zip a file or group of files, but they're not interested to really learn how to work with the winrar at an advanced level. Also, the unzipping does require them to do a bit of thinking in the process of building the packet of zip files. :buck2:
I found that if you upload the files to the TP downloads folder in your FTP and then in the d/l manager you create an empty item with the name of the file it works that way.You can also set up the d/l's permissions so they have to be approved by the admin.
Basically you upload all your files through you local FTP program to the TP-downloads folder. Then go into your download manger on your website and go to FTP it will show all the files you upload through your ftp. There you can assign them to different category's. After that you can go to each file and custmize the download section with a description and an Icon.
This is all very good information.
Trying now to think through the process:
I've got people wanting to upload to the site so their files can be downloaded by others.
Some uploaders have multiple files and some have a large or couple of large files.
I don't want to turn them loose into my server to FTP upload files, which I have no control over (as least mime control).
Maybe the best I can do is an FTP login and passwords individually assigned to users. Nope, can't do that because I don't admin many sites after they're finished.
My host said they would allow up to 50MB upload, but they were very reluctant to do that. Something about how it might affect performance of my sites that are on the same server. Then I think that wouldn't be fair to other sites on the server for sure.
I may have missed something. That is why I'm making this post. I never had a corner on all the good ideas. :uglystupid2:
Hope it is explained well enough. If you have some ideas on a way my sites can allow large uploads aside from a direct file upload I'd sure be interested to read your thoughts.
Thanks :up:
There is a way round this, but be careful how you use it, as lot of hosts don't like you doing it :o
copy this into notpad, and save it as php.ini upload it to your forum root, Change the 2M to the filesize you need ;)
; Maximum allowed size for uploaded files.
upload_max_filesize = 2M
Even at that lesmond, you could set it to be 50 MB. But if it takes too long the webserver will time out. You'll need to find a script that will do the upload in chunks. Currently, SMF and TP are not capable of it.
Quote from: LesmondÃ,â,,¢ on April 03, 2007, 05:45:52 PM
There is a way round this, but be careful how you use it, as lot of hosts don't like you doing it :o
copy this into notpad, and save it as php.ini upload it to your forum root, Change the 2M to the filesize you need ;)
; Maximum allowed size for uploaded files.
upload_max_filesize = 2M
If you can add that line to the php.ini. Can you add the time out line to it also?? (what ever the time out one is called) I have mine set to 1200 --I do big files
would this be the bit you mean Ray
max_execution_time = 30
; Maximum execution time of each script, in seconds
max_input_time = 60
; Maximum amount of time each script may spend parsing request data
Quote from: LesmondÃ,â,,¢ on April 03, 2007, 06:24:49 PM
would this be the bit you mean Ray
max_execution_time = 30
; Maximum execution time of each script, in seconds
max_input_time = 60
; Maximum amount of time each script may spend parsing request data
yep - change them both to 1200
Just a thought
What about I just create an email account for the admin of the site and call it something like ftpmail@mydomain.com. Then I put large file size on the email account. This way the site admin can receive the email and run scans or whatever else on the file, then move it into the downloads section.
The admin can make their own requirements for users by just sending them the email address. I guess there would have to be some kind of contact block or something for users to contact the site admin.
This wouldn't require "right now" management of the download files by the admin. When the admin checked the email account after user notified the file was being sent then the admin could deal with it when time was available.
I don't have contact mod on any TP site. There is a contact mod at SMF may I'll check it out.
I realize this is not a best go idea, but my FTP usually runs on most servers for uploading at less than 60KBs. A large file can take a long time that is sure, and worse... the server will usually timeout and just shut down. LOL
Also, I don't like letting users know too much about how site is setup and uploading into FTP account without MIME checks, etc. does kinda make me cringe. :o
good idea, but don't most email have file size limit?
can you set up a FTP account just for uploads, trusted users only, I know I can on my host
I was thinking the uploads would be slow even FTP so if the user just put up an email it would be faster and not cause any slow down of site server. I haven't check max email file size, but I was thinking it is pretty well what I set it for.
I can set FTP account trusted users only. Still back to the slow upload speed. My FTP upload speed is less than 60KB, which isn't terrible slow...but still slow.
I just wanted to say THANKS for that php.ini script. I have solved my problems with it. THANKS PPLE!