Skip to content

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].
  • Iker_G Offline
  • Posts: 4
  • Joined: Thu Jun 16, 2016 6:02 am

Create an empty .end file

Post by Iker_G »

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 Offline
  • Support Specialist
  • Posts: 590
  • Joined: Tue Jul 17, 2012 2:12 pm
  • Location: Phoenix, AZ
  • Contact:

Re: Create an empty .end file

Post by Support_Rick »

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 Offline
  • Posts: 4
  • Joined: Thu Jun 16, 2016 6:02 am

Re: Create an empty .end file

Post by Iker_G »

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!
Post Reply