for some reason, It came back with an error saying: the directory can not be found
I think the root cause might be that I didn’t specify the Local Directory where I want to put the file. The local root directory denying permission to write access so I have to put it somewhere else.
I don’t think your problem is the local directory at all. Actually, any files you retrieve with get using the ftp gateway are used to replace the current message payload (unless you direct the gateway output to a new message part).
If you are working on a Unix system, then the url “/ftphome/bit11715/atsg2/WIPTS/raw_data_tsmc” must begin in the root directory. If the directory string does not represent an absolute path you have to remove the initial “/”.