View Single Post
  #2567  
Old 25.02.2023, 18:41
SMS SMS is offline
Mega Loader
 
Join Date: Jun 2019
Posts: 64
Default

I'm trying to use the filename that the webserver suggests (which probably happens via the Content-Disposition header). I try the following script (with "Packagizer Hook" trigger), but I get "null" in the responseHeader:
Code:
var myBrowser = getBrowser();
var responseHeader = myBrowser.getResponseHeader(link.getURL());
How do I access the headers, or the filename that the webserver suggests, for further processing in the script?

Last edited by SMS; 25.02.2023 at 18:46.
Reply With Quote