is it ossible to modify the saveas filename from webbrowser

  • Thread starter Thread starter GS
  • Start date Start date
G

GS

I ma in the process of automating/expediting some download from a secure
website, when Currently I would click on the control webbrowser to view and
then on the popup choose save, then change the default filename before
saving.

is it possible to automate these clicks and then also replacing the prefix
and part of the filename according to a set or rules? the default filename
has 3 part prefix-part1-part2
part1 and part 2 is actually yyyyMmmdd dates which I would like to change to
yyyymmdd

your help is much appreciated
 
I'm quite confused about your environment and issue, but just to
mention, you can set a download to the client by sending to him a
stream with the apropriate headers (Content-Disposition).
I've tested here to add this header on the html with a meta tag. It
works for your purpose in Firefox, but not in IE6.
<meta http-equiv="Content-Disposition" content="attachment;
filename=file.html" />

Thiago
 
thank you.

So I would have to preparse and modify the html in the webbrowser and
modify accordingly?

if that is the case I guess this name control feature would have to postpone
of later version

BTW the html is not from my own website but from the third party in https
session. hence I was hoping I can use/build a simple component to control
the download or save instead
 
Back
Top