I need to know how can I give a specific name to a downloaded file. My program is downloading a lot of files and I need to rename this files with names that exist in a list of strings. Can someone help me?
Asked
Active
Viewed 218 times
0
-
1Could you please elaborate more on this and please provide an example so that it will be helpful for us to understand the current circumstance :) – UnknownBeast Jun 09 '20 at 17:11
-
See https://stackoverflow.com/questions/1158777/rename-a-file-using-java – pburgr Jun 10 '20 at 06:21
-
I have a list of strings (A1, B1,C1...), and for each string my program is searching in a specific page if the string exists. If the string exists the program download the file associated to this string. What I want is to change the name of downloaded file (rename to A1, B1, C1...). – André Almeida Jun 10 '20 at 11:18