Simple File Upload Module

This is a very simple upload module for Joomla.

#### NEW VERSION RELEASED: 0.9.3 ####
#
# What's new:
# - A few "bug" fixes
# - Change of background color on pop-up
# - Allow fo any position in your Joomla site
# - PHP 4.3 compatible now!
#
# Available under Projects section on http://wasen.net/
####

I was surprised when I tried to find something to use to upload files onto the server and couldn't find any "simple" thing for it...
I just wanted to be able to place a file on the server in a predetermined directory, in my case for a user to be able to change their banners, but couldn't find any existing extension for it.

Yes, there are superb and efficient "uploaders" but nothing suited my needs, so, well, I figured I'll write my own...

It turned out to do it's job fairly well, so now it's time to share...

Just grab the zip package and use Install in Joomla Administration to install.
Then move over to the modules and chose "Simple File Upload". Set the standard Joomla parameters, access, where to show it, etc. Don't forget to enable it!

Once that is done, there are a few settings for the module itself:

"Upload location", this is where any uploaded file ends up. Simplest to use relative paths, e.g. if you want your uploads to go into "http://your.joomla.com/images", put "./images" as location.

"Background color", set the background color of the information pop-up to match your site.

"Max upload size", well, the maximum size allowed to upload in bytes.

"If file exist", three options if this happens, copy the old one with a new name (Backup); overwrite the old one (Replace); Don't allow to move or overwrite old one (Fail).

"Allowed file types", what should be possible to upload. Default is only images, but add/remove as you wish. Be careful though as you shouldn't allow to upload any executable!

Only in 0.9.2b and 0.9.3:
- "Allowed users by username", you can add usernames of user(s) that are allowed to upload. The users must be in correct capitalization, e.g. "Admin" is not teh same as "admin"!

- To allow upload of ANY filetype, simply add a * (astrisk) in the "Allowed file types" setting.

Please use Forum on website for support, then all users will be able to benefit from previously asked questions...
Please only use contact form in case you can not find the answer in the forum.

If you use "Simple File Upload", please post a rating and a review at the Joomla! Extensions Directory.

Take care!

//Anders

Report

bynthieme on November 18, 2009
Good and simple file upload module.
It's all in the name....
That's what it is and what it does.
Very useful!
byjbdomingos on November 4, 2009
I really think this is a very user extension if could allow upload of any file extention. But nice work... so far.
Owner's reply

Hi,
thanks for the review!

In version 0.9.2b you are able to allow all extensions by adding a * for "Allowed File types". This will make any file up-loadable.
If you can't get it working for any file just send me a note from http://wasen.net and we'll figure it out.

//Anders

I was looking for exactly this to be able to upload documents from work!

Thank you!

Why only limited to pictures as default?
I think would be better to allow all uploads.

Also it could be good to be able to upload based on user only. Are you planning on upgrading for that?

-Andrew
Owner's reply

Hi, thanks for the feedback!

To allow all uploads I would need to change the code... Not a big thingie though...

Here you will find a good resource for MIME types:

http://www.w3schools.com/media/media_mimeref.asp

Microsoft Word (.doc) would be "application/msword" for example...

I am using it with MetaMod now to get user specific settings... Will give some thought into the user idea...

//Anders