I have an account on viddler.com. With which I can record video directly form my site with webcam using their api.
When ever a file is recorded and saved on their server, you can get a direct link of that flv file. If you try to download the file with the browser then it will work while you are logged in on viddler.com.Otherwise it will redirect you to the home page. So to download the flv file it needs to authenticate using curl, I think.
Now I need that recorded video downloaded to my server using wget or what ever method you want to use.