Need to get the uploaded file to my local PC

Posted by Suhail on Stack Overflow See other posts from Stack Overflow or by Suhail
Published on 2010-05-21T08:08:28Z Indexed on 2010/05/21 8:10 UTC
Read the original article Hit count: 234

Filed under:
|
|
|
|

Hi, I have created a test form which will ask users to enter a name and upload the image file:

<html lang="en">
<head>
    <title>Testing image upload</title>
</head>
<body>
    <form action="/services/upload" method="POST" enctype="multipart/form-data">
    File Description: <input name='fdesc' type='text'><br>
    File name: <input type="file" name="fname"><br>
    <div><input type="submit"></div>
    </form>
</body>
</html>

i need to get the file uploaded by the user and store it on my local PC. can this be done in python ? please let me know.

© Stack Overflow or respective owner

Related posts about python

Related posts about file