Modify a line in a text file

Post any question you may have in regards to GoAnywhere MFT and let our talented support staff and other users assist you.
2 posts Page 1 of 1

GBDickinson

Posts: 4
Joined: Fri Aug 05, 2016 5:32 pm
Location: Birmingham, AL

Post by GBDickinson » Thu Dec 22, 2016 1:29 pm
I am creating a project to upload a file from our GoAnywhere server to an AS400 using the IBM iAccess client. As I understand it, in order to do this from a batch file you have to have a DTT file that specifies a number of parameters, including the name of the file to upload. i'm wondering if GoAnywhere has the ability to do this. Basically:

1.) Look through a given text file until you see the line that starts with "PCFile="
2.) Replace everything after the equals with a path and filename of my choosing

I then use this file to tell the client what to upload.

This is the first time I've had to do this, so my understanding of the process may be flawed :)

Support_Rick

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

Post by Support_Rick » Tue Dec 27, 2016 9:44 am
GoAnywhere allows you to upload/download files to/from your AS/400 (iSeries) without the use of the iAccess client.

GAMFT seamlessly connects to your AS/400 for Command execution, as well as, Database access. (Both through resource definitions)

If you're wanting to just upload a file, you can utilize plain FTP to place the file (IFS or Library). You can also utilize the FileShare (through OpsNav) connect and just place the file into the IFS as if it's a local folder.

There are several ways this can happen through GAMFT.

And yes, if you want to continue going through the iAccess and use the DTT file to upload, you can call a local BAT file and execute that as well. :)
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
2 posts Page 1 of 1