开发者

secure and efficient file uploader

开发者 https://www.devze.com 2022-12-10 13:34 出处:网络
I am looking for a decent file uploader. I\'m using django, but while i don\'t NEED a django file uploader, python is preferable. php would also be fine.

I am looking for a decent file uploader. I'm using django, but while i don't NEED a django file uploader, python is preferable. php would also be fine.

can anyone point me in the 开发者_C百科direction of a good file uploader which is secure and efficient?

EDIT: I need the server-side handler of file uploads.


Agree with jeerose: Uploadify is a nice app.

I've made a simple Django wrapper for it as well if you're interested: django-uploadify. It basically gives you a template tag which renders uploadify and fires a Django signal whenever a file is received.

How you implement the 'handler' you mentioned above is simply a matter of subscribing to the signal and then doing whatever you wish with the incoming data. (the wiki includes an example of creating a new File Model if that's the kind of thing you're looking for)


I'm using uploadify which is an upload plugin for jQuery with a flash progress bar. I use some basic php for the upload script. It can be made as secure as you need with a little investigating the forum.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号