Python: send file to a server without third-party libraries? -


i have python client behind nat , python server public ip address. job send pcap file (the size of few mb) client server, dictionary data.

is there easy way of doing without resorting third-party libraries (e.g. twisted, tornado)? if not, what's easiest alternative?

i thought send pcap file through http easier read on server side, , perhaps same dictionary first pickling it. solution?

(i have complete control on server, can install whatever)

is ftp usable solution you?

https://docs.python.org/2/library/ftplib.html

http://effbot.org/librarybook/ftplib.htm


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -