emorrp1 / mintupload

Uploads files on the Internet
http://emorrp1.github.com/mintupload
6 stars 21 forks source link

modularise the supported protocols #8

Open emorrp1 opened 15 years ago

emorrp1 commented 15 years ago

Something I've thought about for a while, but was recently reminded of by shane. Suggested implementation: a protocols directory, with filenames equal to the protocols names, each file provides an upload() function to be used in mintUploader class. os.listdir will be useful here.

emorrp1 commented 15 years ago

brief comment about security concerns: since we'd effectively be executing arbitrary code, do not scan a user-writable folder, just a system one.