troubleshooting Question

How to download files from a web site knowing only part of the filename

Avatar of sdc248
sdc248Flag for United States of America asked on
Java
9 Comments1 Solution172 ViewsLast Modified:
Hi:

I am coding a Java program that download files from a web page daily. The problem is that the file names change from day to day, although it does have a pattern, for example:

today's date + some digits (probably 6 but not sure) + ".csv"

How am I going to form a valid URL under this situation?

Thanks.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 9 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros