×

Upload Videos To MediaSilo With PHP/FTP

media_silo_pic

Published: 2010-09-18

In continuing with my last post on how to upload videos to Ooyala with PHP, here is one for MediaSilo. This ones a little different though in that it uses FTP as opposed to an API to upload the videos.

Alright, so let's get to the code.

The above code should be fairly easy to understand. The code just globs a folder of all files and loops through them, uploading each one.

If you have any ideas on how to make this code better, or expand upon it, let me know in the comments.

(One caveat to using FTP to upload to MediaSilo is that you do need to have at least a “Hollywood” level account, which is going to set you back $100 a month)