You can usually define this in the headers when providing the file for download.
You do have the option of allowing any files to be uploaded, but then zipping them on the backend:
1. User A uploads .MP3 file
2. System automatically compresses .MP3 in ZIP (perk of this is also file size savings)
3. When User B downloads, they download ZIP, uncompress to receive MP3.
I think that zipping on the server is an optimisation that is not yet required but when more people are using the service it will be a nice thing to have. Now I'd rather focus on usability issues, and as you said, it seems to be a good idea to allow more filetypes since the first thing that everybody seems to complain about is the zip upload restriction. I didn't know that I could define the file download behaviour in the header so that will be the next thing I will take a look into, thanks for the ideas.
Will there be a way to browse the available uploaded files?
I might not know what I would like to download until I see it.
Will there be copyright implications?
Will there be a monitoring and filtering system?
Lets face it there will be some people selling cracked software
and potentially illegal and questionable content.
There will be no way to browse the files on the page itself except your own files using the command tool and all files will be named randomly. This is intentional because I don't want bots and people to be able to browse copyrighted files by searching for strings like *gamename* on my site. This means that you will have to copy the link of the uploaded file and post it somwehere else and it also means that you will have to manage yourself how a preview of the data you want to sell looks like.
You can upload cracked software and potentially illegal and questionable content anywhere on the internet, I will handle it accordingly which means that it will be removed. If many people are using the service a blacklist (monitoring and filtering system) will be implemented.
Hi, I have limited the upload to .zip files because I noticed that f.e. mp3 files will, sometimes, depending on the browser, get played directly inside the browser window wich makes it difficult to ensure that the file was actually downloaded by the user and not just cashed in the browser. It's there to reduce the risk for the user.
Modify your server configuration so it adds this header for all downloads and it will always popup the download file window for all files the same as it does for zip.
Content-Disposition: attachment
Thanks buddy, I'll try it and release an update when it works