Skip to main content

I want to change paths for readers in multiple FME workbench files and Ive been trying all day without success to do so without doing it manually. Does anyone know how to do this 🙂 ?

For example from \\192.168.221.35\ftp\hofn\Höfn-skolplagnir.shp to \\192.168.221.50\ftp\hofn\Höfn-skolplagnir.shp

with the only change being the ip path from ending at 35 to ending with 50 but for multible at once :)

I already tried changing in Notepad as suggested here with all the paths but it doesnt work for some reason. Also consulted chatgpt for Powershell scripts of different variety...

Thank you for reading :)

First of all. Start to move the base of the URL to a private parameter. Urls are most likely to be used multiple times in a workbench and need to be changed quite often.

This does not solve your problem though.

The URL is present in 2 locations for one httpcaller, in two different writings:

This is the one that is used:

https:<solidus><solidus>192.168.0.33

And this one seems to have no influence:

https:<solidus><solidus>192.168.0.22

But I would recommend find and replace both versions with a stringreplacer or notepad.

 

 


Reply