There are some external vendors we FTP files to their servers. Some of the vendor's folder names are:
In our existing scheduling system, we have the jobs configured as:
Copy /InternalServer/Folder/File.dat to /ExternalServer/Data.in
However, as we converted the above to Automic RA FTP job and tested it, the below error is thrown.
2018-05-09 17:47:05 Copying from CONN.FTPAGENT.INTERNAL to CONN.FTPAGENT.EXTERNAL
2018-05-09 17:47:05 copy /NPD/SALE1064.dat to /NPD/express/data.in
4: File cannot replace a directory.
We updated the job to:
Copy /InternalServer/Folder/File.dat to /ExternalServer/Data.in/File.dat
and successfully test the transfer.
However, not all scenarios are based on single named file. Some of the jobs are
Copy /InternalServer/Folder/*.dat to /ExternalServer/Data.in
How do we get around this without having to have the vendors updated their folder names? is there a solution?