in reply to Downloading Files CURL

Most likely the site is sending some sort of cookie to establish a session after you've logged in. Since you don't appear to be sending a cookie back they're presuming it's a brand new session. You need to look at using something like WWW::Mechanize to automate logging in and then navigating to download whatever file you're after.