How to get uploaded date from listFiles()
I'm not sure why, but
listFiles()
does not return the uploaded date?
Is there a way to do it?5 Replies
Sorry. I'm not sure I follow? How would i do this?
you have a file key right?
of the file you uploaded.
you can get the file by this link https://utfs.io/f/YOURFILEKEY
when you send request to that link you will have body with file and headers.
in headers there are last-modified header
Hey thanks, but the question is how to get a list of file info's including the uploaded date info.
Your method is for one file and it would return the entire image not just the info.
Thanks again
i might be wrong but i dont think that you can get that info from listFiles method. also instead of get request that will return image itself can make head request that will return headers only (with a date).