Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

File are sometimes renamed (the type is changed)! Why?

changed file renamed type
0
Posted

File are sometimes renamed (the type is changed)! Why?

0

By default, HTTrack tries to know the type of remote files. This is useful when links like http://www.someweb.com/foo.cgi?id=1 can be either HTML pages, images or anything else. Locally, foo.cgi will not be recognized as an html page, or as an image, by your browser. HTTrack has to rename the file as foo.html or foo.gif so that it can be viewed. Q: File are sometimes *incorrectly* renamed! Why? A: Sometimes, some data files are seen by the remote server as html files, or images : in this case HTTrack is being fooled.. and rename the file. This can generally be avoided by using the “use HTTP/1.0 requests” option. You might also avoid this by disabling the type checking in the option panel. Q: How do I rename all “.dat” files into “.zip” files? A: Simply use the –assume dat=application/x-zip option Q: I can not access several pages (access forbidden, or redirect to another location), but I can with my browser, what’s going on? A: You may need cookies! Cookies are specific data (for exam

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123