Skip to main content

I want to use the save-as dialog of the web-browser control passing the right path and I'm doing it as described in the guideline:

SetFILE-NAMEto the path of a file to be used with the Save As operation. The value of theFILE-NAMEproperty is cleared after the Save As operation is complete.

So I tried:

modify my-web-browser save-as=1 filename="g:\\temp\\my-foto.jpg".

But the dialog always starts in the last accessed folder and there is no infuence on the file-name neither.

Is there a solution to this problem ?

I want to use the save-as dialog of the web-browser control passing the right path and I'm doing it as described in the guideline:

SetFILE-NAMEto the path of a file to be used with the Save As operation. The value of theFILE-NAMEproperty is cleared after the Save As operation is complete.

So I tried:

modify my-web-browser save-as=1 filename="g:\\temp\\my-foto.jpg".

But the dialog always starts in the last accessed folder and there is no infuence on the file-name neither.

Is there a solution to this problem ?

I'm not sure I'm following what you are doing .. there is no save-as property of the web browser control

Are you wanting the web-browser control to open a file on disk?

You modify the value property of the web browser control such as

modify my-web-browser value "FILE:///g:\\temp\\my-foto.jpg"


I want to use the save-as dialog of the web-browser control passing the right path and I'm doing it as described in the guideline:

SetFILE-NAMEto the path of a file to be used with the Save As operation. The value of theFILE-NAMEproperty is cleared after the Save As operation is complete.

So I tried:

modify my-web-browser save-as=1 filename="g:\\temp\\my-foto.jpg".

But the dialog always starts in the last accessed folder and there is no infuence on the file-name neither.

Is there a solution to this problem ?

I'm referring to this:

SAVE-AS (numeric)

Set SAVE-AS=1 to display the "Save As" dialog and allow the user to save a copy of the page displayed in the Web browser control to disk.

And this works perfectly - except for the filename/filepath.

The Save-AS uses standard values and not the filename I'm giving (cf. to my original post).

Thanks.


I want to use the save-as dialog of the web-browser control passing the right path and I'm doing it as described in the guideline:

SetFILE-NAMEto the path of a file to be used with the Save As operation. The value of theFILE-NAMEproperty is cleared after the Save As operation is complete.

So I tried:

modify my-web-browser save-as=1 filename="g:\\temp\\my-foto.jpg".

But the dialog always starts in the last accessed folder and there is no infuence on the file-name neither.

Is there a solution to this problem ?

When I right click in the browser and choose Save target as, I get a dialog box and can save the html file on disk.


I want to use the save-as dialog of the web-browser control passing the right path and I'm doing it as described in the guideline:

SetFILE-NAMEto the path of a file to be used with the Save As operation. The value of theFILE-NAMEproperty is cleared after the Save As operation is complete.

So I tried:

modify my-web-browser save-as=1 filename="g:\\temp\\my-foto.jpg".

But the dialog always starts in the last accessed folder and there is no infuence on the file-name neither.

Is there a solution to this problem ?

I'm not sure how much control the runtime will have over the save-as dialog (from the browser). You might try using the Microsoft web browser control  (ActiveX or .Net) to see if that dialog is exposed. I found some VB code which deals with a browser and pdf, the intent is to store the pdf local so perhaps this will help....forums.codeguru.com/showthread.php


I want to use the save-as dialog of the web-browser control passing the right path and I'm doing it as described in the guideline:

SetFILE-NAMEto the path of a file to be used with the Save As operation. The value of theFILE-NAMEproperty is cleared after the Save As operation is complete.

So I tried:

modify my-web-browser save-as=1 filename="g:\\temp\\my-foto.jpg".

But the dialog always starts in the last accessed folder and there is no infuence on the file-name neither.

Is there a solution to this problem ?

Thanks for your effort but I would prefer to solve this with microfocus tools.

As far as I can see there are 3 possibilities:

  1. The guideline is wrong. In this case it should be corrected.
  2. The guideline is right but it's a bug. In this case we need a correction.
  3. Everything works as intended but I am doing something wrong. In this case I would appreciate your help because I can't see my mistake..

What is your opinion ?


I want to use the save-as dialog of the web-browser control passing the right path and I'm doing it as described in the guideline:

SetFILE-NAMEto the path of a file to be used with the Save As operation. The value of theFILE-NAMEproperty is cleared after the Save As operation is complete.

So I tried:

modify my-web-browser save-as=1 filename="g:\\temp\\my-foto.jpg".

But the dialog always starts in the last accessed folder and there is no infuence on the file-name neither.

Is there a solution to this problem ?

You can submit this issue to Customer Care and they'll pass it along to the Development team.


I want to use the save-as dialog of the web-browser control passing the right path and I'm doing it as described in the guideline:

SetFILE-NAMEto the path of a file to be used with the Save As operation. The value of theFILE-NAMEproperty is cleared after the Save As operation is complete.

So I tried:

modify my-web-browser save-as=1 filename="g:\\temp\\my-foto.jpg".

But the dialog always starts in the last accessed folder and there is no infuence on the file-name neither.

Is there a solution to this problem ?

Your colleague from customer care agreed that it doesn't work as said in the guideline and wrote:

"I will report this to MF developers to see if we can do anything.

I guess the behavior changed during the years, since this web-browser control is based on the Microsoft Internet Explorer browser.

And IE really changed a lot in the latest versions."

I'll keep you informed.