Scheduled Maintenance: 10-11-2025 Electricity company maintenance between 09:00 and 15:00.

3.2 & 3.3 Extensions Database 3.2 / 3.3File Upload

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
User avatar

Funny
New user
New user
Posts: 126
Joined: 06 Mar 2017, 16:39
    Windows 10 Chrome

Re: File Upload

Post by Funny »

Hello
You have to adjust the file size with your host or set
Property with my host for example. 20MB and then set the same in the fileupload
After that, I could easily upload to 20MB
In the fileupload I extended to mp3
Which my host does not accept.
Replaced by flac or ogg and then it worked perfectly

mg Funny :eyes2:

User avatar

Puchahawa
Users
Users
Posts: 193
Joined: 20 Jun 2015, 17:58
    Windows 7 Chrome

Re: File Upload

Post by Puchahawa »

That's what has me confused funny. According to the ACP - php information page it is already set at 20m. :eek:

User avatar

Funny
New user
New user
Posts: 126
Joined: 06 Mar 2017, 16:39
    Windows 10 Chrome

Re: File Upload

Post by Funny »

Hi
Thought also that the setting would work to 20 MB
But with my hoster is underi Extended settings 4MB as standard
So you can then upload a maximum of 4MB with the extension Fileupload.
I have the possibility limitless there.
20 MB is now set at the hoster which should actually suffice to upload

mg Funny :beers:

User avatar

Puchahawa
Users
Users
Posts: 193
Joined: 20 Jun 2015, 17:58
    Windows 7 Chrome

Re: File Upload

Post by Puchahawa »

That has been my thought too. the person that hosts our board got the space from a hosting site and I'm thinking he may have a php.ini file that "regulates" the sites he "manages" and the board is reading the stats from the server, if that's even possible. I just emailed him to ask about it. Only thing I can think of that would cause the problem. :wtf:

User avatar

martin
Admin
Admin
Posts: 5106
Joined: 06 Apr 2014, 16:12
    Ubuntu Chrome

Re: File Upload

Post by martin »

Phpbb reads the php.ini file thats on the server and the ext reads that.
Image

User avatar

Puchahawa
Users
Users
Posts: 193
Joined: 20 Jun 2015, 17:58
    Windows 7 Chrome

Re: File Upload

Post by Puchahawa »

Then I'm still baffled. Unless 20m is 2mb or something. I have been thinking it was 20mb

Would someone that purchased "hosting" space from a company have a php.ini file for their "space" or is it one file for the server? Wonder how they split server resources between different hosting clients then?

User avatar

martin
Admin
Admin
Posts: 5106
Joined: 06 Apr 2014, 16:12
    Ubuntu Chrome

Re: File Upload

Post by martin »

Its a file on the server but some hosts allow access to it and some dont.

User avatar

Puchahawa
Users
Users
Posts: 193
Joined: 20 Jun 2015, 17:58
    Windows 7 Chrome

Re: File Upload

Post by Puchahawa »

Oh, ok. :sad: Hopefully the guy that is hosting can get it increased if that's the case.

User avatar

Funny
New user
New user
Posts: 126
Joined: 06 Mar 2017, 16:39
    Windows 10 Chrome

Re: File Upload

Post by Funny »

With a server of myself I could not raise the file space
If a contact form has written then in my Hoster
he raises to me upload space please on 10 MB
Within 2 minutes this had done of the Supporter to me

mg Funny :thumbup:

User avatar

cs.dk
Users
Users
Posts: 8
Joined: 03 Mar 2017, 18:07
    Windows 10 Firefox

Re: File Upload

Post by cs.dk »

Is it possible to change the upload directory?

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6469
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: File Upload

Post by dmzx »

cs.dk wrote: 09 Apr 2017, 09:39 Is it possible to change the upload directory?
For now not it will use the files directory in the extension.

User avatar

TheFactor82
Users
Users
Posts: 15
Joined: 17 Nov 2017, 14:42
    Windows 10 Chrome

Re: File Upload

Post by TheFactor82 »

Hi everybody,
I also have a question on this very-good-extension...
Currently it renames files in order to avoid overwriting...
But If I want to overwrite these files (and so, leave the original filename and not generating the unique filename?
It is possible? What files I have to edit in order to do that?
Thanks in advance

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6469
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: File Upload

Post by dmzx »

TheFactor82 wrote: 28 Nov 2017, 15:53 Hi everybody,
I also have a question on this very-good-extension...
Currently it renames files in order to avoid overwriting...
But If I want to overwrite these files (and so, leave the original filename and not generating the unique filename?
It is possible? What files I have to edit in order to do that?
Thanks in advance
In ACP you will see generated name and also the original name form file in the image folder.
You can rename the file new file to the generated file name and upload/override it in the upload folder.

Beware that some info will be diff. like size and width/height...

User avatar

TheFactor82
Users
Users
Posts: 15
Joined: 17 Nov 2017, 14:42
    Windows 10 Chrome

Re: File Upload

Post by TheFactor82 »

Ah ok...
However, in this way it will be difficult to identify the files, locally, if I rename them in the "generated" name file...
It's possible to avoid generated name files totally, and use only original name files (so that, in case of new upload of a file with same name, the file is overwritten?)?

Thanks!

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6469
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: File Upload

Post by dmzx »

TheFactor82 wrote: 01 Dec 2017, 14:07 ah ok...
However, in this way it will be difficult to identify the files, locally, if I rename them in the "generated" name file...
It's possible to avoid generated name files totally, and use only original name files (so that, in case of new upload of a file with same name, the file is overwritten?)?

Thanks!
Problem is then all posted images with original file will display that last uploaded image.
And if a member upload a file with same name all you images will display that last image.

So thats why it will generate the image name.

Post Reply Previous topicNext topic