...
If multiple files are generated with the same name at the same time, the first file to drop will be placed in the original folder. All others will be placed in an "Archive" folder.
Static File Names
The file name is the same for all files generated from the service.
This is how it works:
- Provides the ability to create fixed file names such as "Stock.csv" for specific clients when creating push files.
- When using static file names and creating a new push file, the HUB first moves the current file (if there is one) into an Archive folder and renames it from, for example "Stock.csv" to "Stock_07-09-17-095907.csv".
- Once the old file is moved to the Archive folder, the Hub then creates the new file and names it based on the fixed file mask, for example, Stock.csv.
- In this way there will always only ever be one active file with a fixed file name on the FTP server and we can still maintain a history of files as they will automatically be moved to the Archive folder.