Configuring Apache2 httpd.conf to allow uploading files; using python client with pycurl to upload -
i need configure apache 2.2 web server allow uploading files particular directory, /tmp/www/upload/ on server. want perform upload python client, , tried pycurl example in /usr/share/doc/python-pycurl/examples/file_upload.py, part of python 2.6.5 distribution on ubuntu 10.04 machine, localhost web server, on http://127.0.1.1/upload/ url mapped dir /tmp/www/upload/.
probably need enable handler in apache httpd.conf file allow uploading files, "going through" script on server, can't figure out how started.
the example you're referring shows how can upload file server, means how can send file.
you still need write server side code receives , writes file disk. basic example of how done here.
Comments
Post a Comment