in reply to Whats wrong with this code

You should check the HTTP response code (at least $resp->is_success), and binmode your file handle.

It might also be worth looking into the created file with a text editor, maybe you get some html (for example error document) instead of an actual movie.

Replies are listed 'Best First'.
Re^2: Whats wrong with this code
by mecrazycoder (Sexton) on Jul 22, 2011 at 13:38 UTC
    Let me check and let you know. Thanks