Skip to main content
Solved

File Paths Inconsistent, bug, or user error?


benvk
Contributor
Forum|alt.badge.img+7
  • Contributor

Hi, 

 

I have a user parameter where we are entering raw text in the format of:

\\gis\scripts\FME_Projects\Production\Staging Folder\bulk_geopackage.gpkg

 

user input 

The first time this parameter is used is in a featurewriter transformer:

featurewriterThen when I look at the path it is passing through the output, you will notice one of the slashes has been reversed...

reversed bracketAny thoughts as to why this is happening at this point?

Best answer by dustin

Likely has something to do with the space between Staging and Folder. I would try replacing that space with an underscore in your directory path to see if it reverts back.

View original
Did this help you find an answer to your question?

4 replies

dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • Best Answer
  • December 18, 2023

Likely has something to do with the space between Staging and Folder. I would try replacing that space with an underscore in your directory path to see if it reverts back.


benvk
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • December 19, 2023

Thanks heaps dustin, that has got it working fine now I have removed the only space in the entire string.

 

Can someone confirm if spaces are unsupported in what I have done above, or is this a bug? I dont think I have had this issue previously. :/


hkingsbury
Celebrity
Forum|alt.badge.img+55
  • Celebrity
  • December 19, 2023

It should still function fine, it doesn't 'look' right but will still work.

 

If you take that path (with the forward slashes) and put it in explorer does it go to the right folder?


benvk
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • December 19, 2023
hkingsbury wrote:

It should still function fine, it doesn't 'look' right but will still work.

 

If you take that path (with the forward slashes) and put it in explorer does it go to the right folder?

Indeed it does work as intended. I was trying to fix a bug that was harmless! Thank you for pointing that out. Now I just need to satisfy my OCD rather than fix an actual problem!

Cheers


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings