Ubuntu – What are the options for sharing files between Windows & Ubuntu on the same network

crossplatformfile-sharingmusicsharingstream

We have a few Windows(XP & 7) and Ubuntu machines in the house sharing a wireless connection, and want to share music between them. If possible, I would like to be able to serve music from both Windows and Ubuntu (but it doesn't have to be the same time).

I don't know much about sharing folders or streaming, but I'm guessing both would be options (that is, using a local client to access a shared song or a local client to access a shared stream). I want to be able to share the music between the systems as simply as possible.

Bonus points (but not requirements) for

  • cross-platform — same application on both Windows and Ubuntu?
  • available on startup (via daemon or autostart or whatnot)
  • open source

More info:

  • All systems have dynamic addresses (DHCP) supplied from the ISP-supplied wireless router.
  • There are several Gigabytes of music on one Windows XP box and one Ubuntu 10.10
  • The music is not well-sorted (I'm thinking this might have an impact on UI usability).
  • Only has to be available internally (private address space behind the wireless router)
  • bandwidth is not a problem
  • We don't have (legitimate) admin access to the wireless router

Best Answer

What comes to my mind first is to use UPnP media file sharing between your machines. You will need a UPnP server on the machine that stores the files and a UPnP client to play the contents.

UPnP server/client technology is well established in Windows Media Player and allows media sharing over the network. If you are looking for a cross-platform solution there is e.g. VLC player or XBMC that can be installed on both, Windows and Ubuntu. However by using the UPnP protocol you can also run a different software on each machine (e.g. Media Player for Windows and VLC for Ubuntu).

To provide a UPnP server only to share media folders there is an easy to handle command line tool in Ubuntu: uShare.

If you rather like to send audio live streams simultaneously to all connected machines in your LAN you may want to have a look at Icecast available for both, Ubuntu and for Windows. This enables you to stream music using an internet radio protocol (but in your case streamed to local machines only - including so called "Internet Radios").

In any case you'll need enough LAN capacity for audio files to be streamed without congestion.

Related Question