Question

FME Options - use Proxy

  • 23 October 2023
  • 3 replies
  • 35 views

Badge +3

Morning,

 

I have two FME Form 2023.1 workspaces. one requires Use System proxy settings in FME options to be on, the other to be off.

Other than use two different installs of FME Form (.1 / .0.2) with this set, is it possible to parameterise this setting in the workflow at all?


3 replies

Userlevel 5

The best practice solution would be to configure the OS system proxy settings accordingly, e.g. by defining an exception for the subnet or hostnames that must be accessed without a proxy, for Windows see e.g. https://support.microsoft.com/en-us/windows/use-a-proxy-server-in-windows-03096c53-0554-4ffe-b6ab-8b1deee8dae1

Otherwise it's possible to configure the FME Form proxy settings from the command line. To use the system proxy:

fme.exe APPLY_SETTINGS "Proxy/Proxy Setting" "Use System Proxy"

To disable the proxy:

fme.exe APPLY_SETTINGS "Proxy/Proxy Setting" "No proxy"

 

Badge +3

The best practice solution would be to configure the OS system proxy settings accordingly, e.g. by defining an exception for the subnet or hostnames that must be accessed without a proxy, for Windows see e.g. https://support.microsoft.com/en-us/windows/use-a-proxy-server-in-windows-03096c53-0554-4ffe-b6ab-8b1deee8dae1

Otherwise it's possible to configure the FME Form proxy settings from the command line. To use the system proxy:

fme.exe APPLY_SETTINGS "Proxy/Proxy Setting" "Use System Proxy"

To disable the proxy:

fme.exe APPLY_SETTINGS "Proxy/Proxy Setting" "No proxy"

 

Fantastic - thanks David!

The best practice solution would be to configure the OS system proxy settings accordingly, e.g. by defining an exception for the subnet or hostnames that must be accessed without a proxy, for Windows see e.g. https://support.microsoft.com/en-us/windows/use-a-proxy-server-in-windows-03096c53-0554-4ffe-b6ab-8b1deee8dae1

Otherwise it's possible to configure the FME Form proxy settings from the command line. To use the system proxy:

fme.exe APPLY_SETTINGS "Proxy/Proxy Setting" "Use System Proxy"

To disable the proxy:

fme.exe APPLY_SETTINGS "Proxy/Proxy Setting" "No proxy"

 

Thank you for the link sir, you made my day.

 

 

 

 

 

 

 

 

Yes, you can dynamically control the "Use System proxy settings" option in FME workspaces. Instead of using different installs, consider using a startup Python script or a Startup PythonCaller transformer to set the proxy option based on your workflow requirements. I understand that academic writing can be a daunting task, with essays feeling like uncharted territories. However, I want to share my personal experience with you and introduce you to https://bestbritishessays.com/ which is essay writing services reviews This platform has been a lifesaver for me, as it helped me navigate through the wilderness of academic writing with ease. The team, consisting of academic experts, not only provides reviews but also shares stories of success and failure, making it easier for students like me to feel supported and understood. I hope my narrative can give you the guidance and support you need in the vast expanse of academic writing.

Reply