Well, so far so good
Loving Turbine so far, Big time saver.
I am trying to upload Image Files from a form( into a temporary
Directory, which will later be moved to a directory under the Webserver
proper ) and and this works Ok,
what I can't figure out is:
I need to capture the file name as Uploaded (blah.jpg for example) from
the "form/multipart" request parameter to store in the DB as a filename
(i.e. String) by calling another action and passing the RunData object
to the other action.for insertion in DB.
I cannot seem to be able to figure out how to get that information ,I
know I have to get the filename as inserted into the form(minus the path
of course) , but the example File Upload action does not deal with this
at all, also, if I wanted to save the file with a predetermined filename
(i.e. image1.jpg) how would I manipulate this before passing to the
TurbineUpload.parseRequest(req, data, path).
Sorry if this is a stupids question
Sean Allen
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]