Right now portals pay for the hosting of the files as a charitable service to the community. In the future, portals will charge users directly for extra features (with U.S. dollars!)
Some portals may be operating less out of charity, and more out of a desire to build mindshare about their portal in hopes of translating that mindshare into future revenue via subscriptions.