Uploading Large Files (> 600 MB) using mechanize python -
i trying upload large file using mechanize. files of size > 450 mb.
i able use mechanize , successful in uploading files 5 mb. here code:
web = mechanize.browser() web.open("http://x.om/") web._factory.is_html = true web.form = formobj[1] web.set_all_readonly(false) web.form.add_file(open(self.location, 'rb'), 'application/octet-stream', filename, nr=0, name='file[]') response = web.submit()
i glad if can in procuring large files.
Comments
Post a Comment