TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,026
  • Total Topics: 21,333
  • Online today: 899
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 601
  • Total: 601

TP Downloads not fully working...?

Started by sysengr, May 28, 2006, 10:14:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sysengr

SFM has been fantastic to work with so far.  This is my first week with you guys after being with PhP-Nuke forever.  I am most impressed!  But I am having a bit of a problem with the download module and file attachments that I am unable to solve by searching these forums.

Is it just me or is the TP Download Module still not fixed?  Or have I missed something. Anything over a tiny file seems to time out.  Many files uploaded that seem to work and show up in the download manager have a  zero length.  But others work just fine.  The hit and miss on smaller files is so random that I have not been able to place my finger upon anything specific.

Something I would like to see is that uploaded file names not be case specific.  a .zip will work, but a .ZIP or a .Zip will fail every single time.

Sarham
Webmaster of www.ancientshadows.net

G6Cad

Seems like you have permission issues to the tp-downloads folder and the files in it.
Check that you have set the permissions to 755 both to tp-downloads folder and the content in it.

sysengr

Many thanks for the reply. 

You were quite correct about some of my issues being directly related to the file permission settings.  Because all of the files we were testing were from several megs to several hundred megs in size we had a 100% failure rate.  This lasted until we started working with files that were only a few K in size.  By that time we had been in and out of FTP with several accounts so often our permission levels were all over the gambit.

After correcting the file permissions, all tests with small files worked correctly if the file name was short, all in lower case and again the file had to only be a few K in size.

It would be nice not to fail a file name because of the case of the extension though.  Would love to see a change there.

Unresolved is the issue that the download module does not support larger files.  Thumbing back through the forums here I have noted comments about the issue, but I have not found if it is considered a problem to be resolved, or a limitation of the download feature that will not be upgraded.

Knowing that this is all still in bETA lends me to the hope of a file system that will support larger file transfers.  Still I would love to see someplace posted that my hopes may be realized in the future.

My apologies if I have missed that post in these forums, and if so could someone be so kind as to point his old man in the right direction to it.

Many thank, and respects,

Bill Cruz Sr.
http://www.ancientshadows.net

sysengr

Just in case someone would like to know.

Version Information:
Forum version: SMF 1.1 RC2 (more detailed)
Current SMF version: SMF 1.1 RC2
PHP version: 4.4.2
MySQL version: 4.0.27-standard
Server version: Apache/1.3.36 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.2 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.27 OpenSSL/0.9.7a
GD version: bundled (2.0.28 compatible)

G6Cad

I had some similar errors in my download section before the release of TP V091 for the Alpha testers.
It seemd like the files and manager didnt like any dots between the file names. EG
my.file.dot.zip

If i changes the name to
my_file_dot.zip they worked great

So if you have any dots between the names, change them to underscore instead and see if it helps.
I havent heard anything about bigger files need some other changes beside the upload limit size in some servers and hosts, but if you can upload big files now, i dont think changing anything there will help you out with your errors.

sysengr

Yep, dots fail the file name test for sure.

No errors except for timeout errors on large files over 500K.

G6Cad

Try rename the files and skip the dots.
Delete the files from the manager and reupload them so the download manager get the files and names correct in the db

sysengr

OK...   I know that you are reading a ton of messages right now.

if I name a file abcdefgh.zip and it is greater than 500KB it will time out.

I do not have any file name issues any longer.  I know the limitations of the download manager.
I do not have any file permission problems either.

Lets just pick one part of the problem and that is file sizes greater than 500K failing on an upload.

Again, stock 8.3 file name all alpha lower case with a 2 meg file. (abcdefgh.zip)

Can anyone upload to the TP-download folder using the upload option and have it work on any site anyplace ever with a file name as given with the size given?


sysengr

This is the exact error:

An Error Has Occurred!
The upload was not able to complete.This might happen because it took too long to upload or the file is bigger than the server will allow.

Please consult your server administrator for more information. 

I am testing for a gigabit backbone directly to the server.

Max file size is set to 8192000 Kb

last test was a 4.2 MB file named abcdefgh.zip

Does anyone have the ability to upload large files with the current module?

G6Cad

You have to contact your hot about this issue, that upload size limit is set by the server software and host. If you have your own server, you need to chaange the settings your self, and if you have a host, they need to change the limit for file sizes for you.

you can do some minor changes in the db tables for the TP Download manager, but i have seen some others in here still having troubble with this, and they had to contact the hosting to make them allowe larger files

This website is proudly hosted on Crocweb Cloud Website Hosting.