Skip to content Skip to sidebar Skip to footer

Upload File With Python - Where Is The File?

I'm trying the 'cross origin upload' example of the course 'HTML 5 Power' by Andy Olsen (lynda.com and video2brain). I can upload, and on the server it says 'Upload to server compl

Solution 1:

This loop reads and discards the uploaded data.

    while bytes_read < content_length:
        x = self.rfile.read(1)
        bytes_read += 1

Post a Comment for "Upload File With Python - Where Is The File?"