Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


jodom8514
2009-09-01T20:08:37Z
I am getting some strange results using read file, then using write file with the output.

The text file I am reading is just a regular text file with about 10 lines in it.
When the Read File task is run, the standard output shows the file being read fine with no extra characters at the end.

I then use a Write File task to append this data to a different text file using:
{STRING(Trim|{TASK(c405ba85-1769-4ade-80d7-c836f5cc5572,StdOut)})}

When I look at the file afterwards, the original text is there, along with the text from the new file, and then 2850 space characters. This extra output is affecting the next step in the job, but I cannot find out why it is putting them there. As stated above, the extra characters do not show up in the Read File task Output or Error Output. Can anyone shed some light on this?
Sponsor
Forum information
Support
2009-09-01T20:10:24Z
You need to adjust character encoding on main settings in the Task.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
jodom8514
2009-09-01T20:14:20Z
Support wrote:

You need to adjust character encoding on main settings in the Task.



All tasks were set to utf-8, but I changed to us-ascii and no change at all. Still a bunch of spaces after the output.
Support
2009-09-01T20:16:43Z
1. are you reading and writing on the same Server
2. what settings do you have in your regional setings of the Server?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
jodom8514
2009-09-01T20:20:50Z
Support wrote:

1. are you reading and writing on the same Server
2. what settings do you have in your regional setings of the Server?



Read and write operation is done on the same VC server, Windows 2008 Enterprise SP 1 server, 64-bit.

Regional settings are set to English (US), and Language is English.
Support
2009-09-01T20:22:49Z
And what about settings on the computer where the file was generated? Are you able to send the file to support@visualcron.com?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top