Wordpress Help: Allowing vistors to upload files to my server?

Associate
Joined
20 Sep 2003
Posts
2,384
Location
Scotland
Hi

I am trying to create a video portal site. One of the things I would like to have available to visitors is the ability for them to upload video files to my own personal web space. So ideally add a page in WP and when clicking on that page there would be a browse section allowing the user to select a file from their hard drive and have it uploaded to my server.

I don't want the visitor to have to register to be able to upload content. All the plugins I have see so far are for uploading video from YouTube etc. Is there anything that is just a simple file upload script/plugin that I could use?

Ideally something with a simple interface that shows the progress and completion of the file upload.

Thanks
 
Tbh I would recommend using something like youtube, that way people could submit links for files they've already uploaded as well as uploading new ones via the API. Depending on how popular your site is you could find your bandwidth being eaten up really quickly if you host them yourself.

If you really want to go ahead then I would recommend http://www.uploadify.com/ I've used it before to allow users to upload and integrate files into Wordpress. I've not seen any specific guides but the documentation is good so you should be able to figure it out pretty easily.
 
Last edited:
I've added the Uploadify plugin and configured it, have added this line to one of the pages in my WP theme:


[uploadify inputName="videos" fileTypeExts="*.mov;*.mp4;*.avi;*.mpg" fileTypeDesc="Video Files" metaType="post"]


When I try uploading a file it just keep repeating i.e. the progress bar will reach the end and then will start over again and there are no files saved on my server.

ANy ideas?
 
Last edited:
Just tried uploading a simple jpg file and the uploadify widget keeps repeating, turns red in colours and flashes Error 401 constantly
 
The best way to protect the files that have been uploaded, is have them upload to an open temp folder, then run a script immediately after to move the file from the temp folder to a folder above your public folder (you can do all that with uploadify). That way the only access to the files is either FTP or via a script that is public facing that fetches the file for the user.
 
The best way to protect the files that have been uploaded, is have them upload to an open temp folder, then run a script immediately after to move the file from the temp folder to a folder above your public folder (you can do all that with uploadify). That way the only access to the files is either FTP or via a script that is public facing that fetches the file for the user.

So if I have a temp folder created (outside of my password protected wordpress folder) I can setup uploadify to upload files to the temp folder?

Currently I have the uploadify code sitting on a wordpress page, so how can I set it up to bypass the htaccess. Only way I can think is to have a link on the WP page that takes the user to a html page in the temp folder where they can then upload their files, correct?

I had one other idea, I currently have a YouTube channel which is private/hidden etc. Is there a plugin for WP that allows users to upload directly to my designated YouTube channel?
 
Back
Top Bottom