Python Forum

Full Version: FTP, HTTP or.....?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I need to setup a server that can be used to exchange files in both directions (ftp style), and serve mp3 audio to a player such as VLC.

I have done both quite successfully using Python's ftp module and http server but this means having two servers running. Is there a way to do both operations with one server/client arrangement?

I am very new to networking with Python...
Thanks.
I looked at this but it doesn't do all that I need. It is one way file transfer and doesn't allow streaming of audio...
use different ports. then you can run both on the same server. but overall i would just use HTTP for both GET and PUT.