Articles on: Frequently Asked Questions (FAQ)

Why can’t I use wildcard (*) to pick the latest file in Download URL connection?

Issue:

Trying to use a dynamic filename such as: https://example.com/feeds/ProductFeed_%m_%d_%Y_*.csv, but the feed fails to load.


Why this happens

The Download URL connection method does NOT support wildcard (*) in filenames.


When using Download URL:

  • Stock Sync retrieves only one exact file path.
  • It does NOT scan the folder to detect the latest file.
  • It cannot read a directory listing.


Wildcard works in FTP connection because FTP allows Stock Sync to:

  • Read the directory
  • Detect the latest file
  • Download it automatically

Download URL does not support this behaviour.


What are the available solutions?



If an FTP server is available:

  • Switch the connection type to FTP.
  • Upload daily files into the FTP folder.
  • Stock Sync will automatically detect and download the latest file.

This is the best solution for dynamic filenames.


Option 2: Standardize the File Name (Remove Timestamp)


If FTP is not available, request the file provider to remove the time portion from the filename.

  • Instead of generating files like: ProductFeed_02_17_2026_14_30_55.csv
  • Ask them to overwrite the file daily using a consistent filename such as: ProductFeed_02_17_2026.csv
  • Then you can use this format in Download URL: https://example.com/feeds/ProductFeed_%m_%d_%Y.csv

This works because the filename becomes predictable and does not contain changing time values.


Important Notes

  • Wildcard * is NOT supported in Download URL connection.
  • FTP connection supports automatic latest file detection.
  • Download URL requires a fixed or predictable file path.


If you are unsure which setup is suitable, please share your connection type and file example with support for further assistance.


Updated on: 19/02/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!