Create an empty .end file

Post any question you may have in regards to GoAnywhere MFT and let our talented support staff and other users assist you.
If you need a quicker response, please create a support ticket via the customer portal my.goanywhere.com or contact our support team by email at [email protected].
3 posts Page 1 of 1

Iker_G

Posts: 4
Joined: Thu Jun 16, 2016 6:02 am

Post by Iker_G » Thu Jun 16, 2016 12:00 pm
Hi all,

Hope you can help me out with this.

I'm fetching a file from a third party (let's call it ABC.dat) and once I got the file, I need to create a new and empty file called ABC.end. That's all, as simple as that.

The thing is, I cannot find any option/method to create a new file and give it the name & extension I want.

How can I do it?

Thanks very much for your help!

Iker

Support_Rick

Support Specialist
Posts: 590
Joined: Tue Jul 17, 2012 2:12 pm
Location: Phoenix, AZ

Post by Support_Rick » Thu Jun 16, 2016 3:01 pm
Look at the PRINT task .. and then go to the Advanced Tab. Give the name of the file you want to create. Anything in the Text Box would be printed to that file.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696

Iker_G

Posts: 4
Joined: Thu Jun 16, 2016 6:02 am

Post by Iker_G » Fri Jun 17, 2016 4:56 am
Awesome! Thanks for the quick reply.

I've also managed to do it using an "Execute Native Command" task.
Setting the 'executable' option to '/bin/touch' and adding an argument with the name I want for the file, then it creates the file within the working directory we specify.

Does anyone else here have a different option to do it?

Cheers!
3 posts Page 1 of 1