Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FTP, HTTP or.....?
#1
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.
Reply
#2
this looks like a viable source: http://www.bogotobogo.com/python/python_...ansfer.php
Reply
#3
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...
Reply
#4
use different ports. then you can run both on the same server. but overall i would just use HTTP for both GET and PUT.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020