I am u/loading files to the server and then attaching to an email. When more than one file is uploaded it freaks out and picks one to attach. how can I pull the last modified file for the email...? Thank you for your help.
...attaching one when several were uploaded????<BR><BR>Shouldn't you attach them all?<BR><BR>Anyway, the only way to find last modified is to loop through the entire directory looking for the one with most recently modified date. It would be a lot smarter to remember the names of the uploaded files and pick one of them, instead.<BR><BR>
My suggestion to you is go to the official web site of the upload component product your using. They probably have a FAQ or even example of code that shows you how to retrieve multiple files at once and send them via email.<BR><BR>Its my suggestion.<BR><BR>Hope this helps!<BR>Sincerely<BR><BR>Vlince