Problem with "302 file moved"

Joane
03/09/2017 06:57 am
Hi Oleg,

I've got the following problem. I want to download a file that contains just the "302 file moved" info of the file that it points to. For example, if I put this url in the project:

https://archive.org/download/pdfy-MgN0H1joIoDVoIC7/The_AWK_Programming_Language.pdf

and download it, I get two files. One contains this:

<HTML><HEAD><META HTTP-EQUIV="Refresh" CONTENT="0; URL=../../../https@ia802309.us.archive.org/25/items/pdfy-MgN0H1joIoDVoIC7/The_AWK_Programming_Language.pdf"><TITLE>302 File moved</TITLE></HEAD></HTML>

and another one the target PDF itself. And I need just this response:

<HTML><HEAD><META HTTP-EQUIV="Refresh" CONTENT="0; URL=../../../https@ia802309.us.archive.org/25/items/pdfy-MgN0H1joIoDVoIC7/The_AWK_Programming_Language.pdf"><TITLE>302 File moved</TITLE></HEAD></HTML>

without downloading the 8 Mb PDF. I tried excluding all other server urls except archive.org, adding skipdisposition and other parameters. No matter what I do I always either get two files or none. What exactly do I need to do to get just the "302 File moved" html file?

Thank you.

Oleg Chernavin
03/09/2017 06:58 am
So far there is no option to skip creating redirect files. However you may delete PDFs after the download easily - use the Find Contents button on toolbar, search for *.pdf files there, select them all in the list and delete.

Would this work?

Best regards,
Oleg Chernavin
MP Staff