> > *) How do i access the uploaded file? > > (I see that the method (defmethod parse-view-field-value ((parser file- > > upload-parser) value obj...) returns multiple values including the > > list of values from the multi-part, and the local file name. I dont > > know how these are stored in the 'file' slot in the example above, or > > how i would access them). > > Ok, parse-view-field-value sets the field to the file name. > I want to make a :unique file name, and access both the :unique name, > as well as the original name sent in the multipart/. > > *) How can i get both the new unique name and the multipart file name > into the file slot, maybe as a list of values? >
If all you want is both a unique name and the original multipart (browser) name then http://paste.lisp.org/+1YDA should be sufficient. In fact, you could even simplify it as in http://paste.lisp.org/+1YDA/1 and probably eliminate the duplicated code too.. -- You received this message because you are subscribed to the Google Groups "weblocks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/weblocks?hl=en.
