Details...
what API did you use, can you download the file another way (prove file is there and accessible using another tool), can you verify that your program is connecting to the remote file properly, etc? Exact error message your program is giving?