Accessing the HTTP Status when downloading

29 views
Skip to first unread message

Arun Neelakandan

unread,
Apr 10, 2014, 3:17:24 AM4/10/14
to casp...@googlegroups.com
Hi there,

This is about the download() function.

How do you access the HTTP status code in the response when downloading a file? In my code, some of the files I'm trying to download() are returning a HTTP 403 (Forbidden) response and I don't want to download these files. The actual HTML returned saying 'Forbidden' is being saved to the file. (The files I'm trying to download should all be CSV files.)

Thanks!

— Arun
Reply all
Reply to author
Forward
0 new messages