# Download file

**URL:** https://forum.kirupa.com/t/download-file/264410
**Category:** Uncategorized
**Created:** [June 25, 2008, 9:01pm UTC](https://forum.kirupa.com/t/download-file/264410 "2008-06-25T21:01:57Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![jhdc](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@jhdc](https://forum.kirupa.com/u/jhdc)
#### Post date: [June 25, 2008, 9:01pm UTC](https://forum.kirupa.com/t/download-file/264410/1 "2008-06-25T21:01:57Z")

</div>

Hi,  
I am making a site for a client.  
They want to be able to upload videos and also have the viewer be able to download the video.  
But…they want to be able to add the videos / files to download themselves.

I was going to use an xml video player component, so I figure it will be fairly easy for the client to add or take away videos.  
But I’m not sure how to set it up so that the client can add a link that will automatically download a file?

Any ideas?

---

<div class="post-metadata">

### Author: ![randomagain](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@randomagain](https://forum.kirupa.com/u/randomagain)
#### Post date: [June 25, 2008, 10:12pm UTC](https://forum.kirupa.com/t/download-file/264410/2 "2008-06-25T22:12:26Z")

</div>

neither to I

upload()  
download()  
whoknows()

---

<div class="post-metadata">

### Author: ![sparkdemon](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@sparkdemon](https://forum.kirupa.com/u/sparkdemon)
#### Post date: [June 25, 2008, 10:15pm UTC](https://forum.kirupa.com/t/download-file/264410/3 "2008-06-25T22:15:38Z")

</div>

if you want the video to be uploaded in standard format but playable in flash after upload …you will have to use ffmpeg at back end. it will help convert to flv at backend.

for download… filereference class should be good enough 🙂

---

<div class="post-metadata">

### Author: ![jhdc](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@jhdc](https://forum.kirupa.com/u/jhdc)
#### Post date: [June 25, 2008, 10:35pm UTC](https://forum.kirupa.com/t/download-file/264410/4 "2008-06-25T22:35:23Z")

</div>

Well, I could upload the FLV to be played on the site, and then have a MOV that will be available for download.  
You’d still recommend the filereference?  
Thanks!

---

<div class="post-metadata">

### Author: ![sparkdemon](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@sparkdemon](https://forum.kirupa.com/u/sparkdemon)
#### Post date: [June 25, 2008, 10:38pm UTC](https://forum.kirupa.com/t/download-file/264410/5 "2008-06-25T22:38:51Z")

</div>

yes… well your are all set to go then 🙂

Even there when converting flv to mov… ffmpeg is the thing 🙂

---

<div class="post-metadata">

### Author: ![jhdc](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@jhdc](https://forum.kirupa.com/u/jhdc)
#### Post date: [June 25, 2008, 10:43pm UTC](https://forum.kirupa.com/t/download-file/264410/6 "2008-06-25T22:43:51Z")

</div>

ok, thanks for pointing me in the right direction.  
any advice for how to look into ffmpeg.  
i started a tutorial and was lost.

---

<div class="post-metadata">

### Author: ![sparkdemon](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@sparkdemon](https://forum.kirupa.com/u/sparkdemon)
#### Post date: [June 25, 2008, 10:48pm UTC](https://forum.kirupa.com/t/download-file/264410/7 "2008-06-25T22:48:44Z")

</div>

firstly just download ffmpeg for windows and practice at your dos prompt

then later port the same commands to a script file to automate it (like php ) and try converting a file by invoking the php file. thats for the start…

---

<div class="post-metadata">

### Author: ![jhdc](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@jhdc](https://forum.kirupa.com/u/jhdc)
#### Post date: [June 25, 2008, 10:51pm UTC](https://forum.kirupa.com/t/download-file/264410/8 "2008-06-25T22:51:36Z")

</div>

oh god!  
thanks, but this might be beyond me (is it mac friendly?)  
i’ll start trying, but I only have learned some flash (no php or other code)

---

<div class="post-metadata">

### Author: ![sparkdemon](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@sparkdemon](https://forum.kirupa.com/u/sparkdemon)
#### Post date: [June 25, 2008, 11:09pm UTC](https://forum.kirupa.com/t/download-file/264410/9 "2008-06-25T23:09:08Z")

</div>

ffmpeg runs on any platform… you have to download platform specific version then.

[http://rapidshare.com/files/125037441/Extentions.zip.html](http://rapidshare.com/files/125037441/Extentions.zip.html)

this is for windows.

That is the secret behind you tube and other video sites online

---

<div class="post-metadata">

### Author: ![jhdc](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@jhdc](https://forum.kirupa.com/u/jhdc)
#### Post date: [June 25, 2008, 11:10pm UTC](https://forum.kirupa.com/t/download-file/264410/10 "2008-06-25T23:10:16Z")

</div>

cool - i’ll take a look.  
thanks for the help!!!

---

<div class="post-metadata">

### Author: ![sparkdemon](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@sparkdemon](https://forum.kirupa.com/u/sparkdemon)
#### Post date: [June 25, 2008, 11:15pm UTC](https://forum.kirupa.com/t/download-file/264410/11 "2008-06-25T23:15:54Z")

</div>

welcome 🙂
