Skip to main content
simply more productive

The Data Specialist

Thanks to our intuitive transformation designer, you can convert data effortlessly to a variety of formats without knowing how to program. It’s not only efficient, it’s also easy to use.
Up to 100,000 records can be processed with the freeware version!
Flowheater Chart

Filename, Directory Name, error

More
5 years 2 months ago - 5 years 2 months ago #3538 by JD Cox
Thanks for your continued support.  Since the recent update I really like the changes you’ve implemented.  One issue we’re having is this error, “The filename, directory name, or volume label syntax is incorrect.” when we trying to export only one line of data from our WMS.  Although rare, they’ve found a work around by managing the end-of-day process.

I’m creating the filename and directory during the export soI’m assuming it sets that after the first record has run.
Attachments:
Last edit: 5 years 2 months ago by FlowHeater-Team.

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

More
5 years 2 months ago - 1 year 1 month ago #3539 by FlowHeater-Team
Replied by FlowHeater-Team on topic Filename, Directory Name, error - Post(3539)
Hi JD,

I guess you´re using the .NET Script Heater to set the file name of the WRITE TextFile Adapter ? This way is very old and not more recommended to doing this.

A more elegant way is to use FlowHeater Parameter instead of the script. You can use Parameter directly as part of the file name.

e.g.  $FILENAME$.csv

Here you´ll find a short example how to set dynamically the WRITE File name by using FlowHeater Parameter: How to set the write TextFile Adapter file name

Best wishes
Robert Stark
Last edit: 1 year 1 month ago by FlowHeater-Team.

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

More
5 years 2 months ago - 5 years 2 months ago #3540 by JD Cox
It does answer my question. I was not using the .NET Script Heater but I was using the Append Heater between the folder path and $FileName$ parameter with a / separator creating the $DIR$ parameter.  I removed the Append Heater and added this, $DIR$/$FileName$, to the Filename on the Write side and it works perfectly.

As always, thanks for your help Robert
JD
Last edit: 5 years 2 months ago by JD Cox.

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

Time to create page: 0.266 seconds
FlowHeater Logo

FlowHeater - The Data Specialist

Efficient data integration and transformation with FlowHeater – the perfect solution for a seamless transfer of your data.

Legal information

Support & Contact

Contact

Phone:
0951 / 9933 9792

eMail:
This email address is being protected from spambots. You need JavaScript enabled to view it.


Copyright © 2009-2024 by FlowHeater GmbH. All rights reserved.