-
1. Re: How I can't get the last modification date of uploaded f
andrei_exadel Apr 25, 2008 10:03 AM (in response to paradox79)It's impossible to get the last modification time, because browser sends file as byte array. File upload request contains no information about modification time.
On the other part it impossible to get file information on client side through javascript by security reasons. -
2. Re: How I can't get the last modification date of uploaded f
paradox79 Apr 25, 2008 11:37 AM (in response to paradox79)Thanks for your quick answer, Andrei. I just thought that if tag rich:fileUpload has parameter fileUploadListener presenting an action listener method that will be notified after file uploaded. And also there is a parameter immediateUpload. If we put it to "false" then uploading is divided into two phases. After first phase the file is added to a list and we see it's name in local file system. So I thought that maybe there is some fileAddToListListener parameter that presents an action listener method in order to work with files list after adding but before upload.
-
3. Re: How I can't get the last modification date of uploaded f
andrei_exadel Apr 25, 2008 11:43 AM (in response to paradox79)There is a onupload attribute. You can this attribute to specify some javascript code. Or you can use 'onupload' event to force ajax request to server or to do any thing you want. This event fires after file was added to list but before uploading process started.