Variable file names

  • Posts: 8
  • Thank you received: 0

Variable file names was created by dickels112

Hey all,

I am trying to specify the filename of my xslt translation in a variable, but i continuously see to fail.
Can anyone help me? I am probably overlooking things:
6 days 6 hours ago #21268
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 8266
  • Karma: 33
  • Thank you received: 539

Replied by admin on topic Variable file names

You have an issue with quotes

Let's say that the variable value is C:\data

The resulting file name would be c:\data\"file1.txt"
And it is not a valid file name.
Mike
ETL Architect
6 days 6 hours ago #21269

Please Log in or Create an account to join the conversation.

  • Posts: 8
  • Thank you received: 0

Replied by dickels112 on topic Variable file names

Hey Mike,

true, but my file has spaces in the name, so the quotes are not optional then.
Does my syntax need to be "<filepaht>\file name.txt" then?
I tried to use it like this, however without success..

KR
5 days 22 hours ago #21270

Please Log in or Create an account to join the conversation.

  • Posts: 8266
  • Karma: 33
  • Thank you received: 539

Replied by admin on topic Variable file names

I will test it and get back to you.
Mike
ETL Architect
5 days 21 hours ago #21271

Please Log in or Create an account to join the conversation.

  • Posts: 8266
  • Karma: 33
  • Thank you received: 539

Replied by admin on topic Variable file names

The latest version works as expected



Mike
ETL Architect
5 days 8 hours ago #21273
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 8
  • Thank you received: 0

Replied by dickels112 on topic Variable file names

Thanks for testing. The problem with me is that i am getting this error on executing:

Attached my package

KR

5 days 7 hours ago #21274
Attachments:

Please Log in or Create an account to join the conversation.

 

This site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies