June 2018
Beginner to intermediate
376 pages
8h 58m
English
Our existing code already does a lot of the work we want a file download solution to do. We are already mimicking the browser state and negotiating a connection to the content we want to download. It shouldn't be too hard to extend this slightly further, should it?
We have already negotiated a connection with the server to get the file that we want; it's just a case of using that connection to download the file instead of just checking the HTTP status code. We can then call our file anything we want and we will know when the download has completed because our code is controlling it.
Is this the perfect solution? Not necessarily; as noted before, we may have some potential problems with HttpOnly cookies. However, ...
Read now
Unlock full access