Reputation: 21
Could somebody tell me how to do this?
Upvotes: 2
Views: 1277
Reputation: 15680
You can't actually do both of these at once:
Under your requirements, the file server needs to both Serves Files and Accepts Uploads of files.
There are a few ways to get the files onto the FileServer
Upvotes: 1
Reputation: 2378
I think what you need is static url setting for django 1.4 in order to make available file server files from the app server. For uploading files to file server you can write a python or php script hosted on this server (assuming apache2 server or similar) to get the job done.
I you have this ideas, i think you dont need to keep track of what files are uploaded (take into account that by using this solution you just can't)
Upvotes: 0