Richard,

If you use cffile, you should be able to get the original file name in the
cffile.clientFile

By the way another good option for multiple file uploads is the uploadify
plugin for jquery: http://www.uploadify.com/ this uses JS and Flash.

--
Pete Freitag
http://foundeo.com/ - ColdFusion Consulting & Products
http://petefreitag.com/ - My Blog
http://hackmycf.com - Is your ColdFusion Server Secure?


On Tue, Feb 2, 2010 at 6:22 AM, Richard Meredith-Hardy <[email protected]>wrote:

>
> Dear all
>
>
>
> I've been messing around with a java applet multiple file uploader
> http://sourceforge.net/projects/javafileuploade/
>
>
>
> If I do a dump of form vars from the receiving page I get this:
>
>
>
> form.RELPATHINFO1:
>
> form.FIELDNAMES:
> MIMETYPE1,PATHINFO1,RELPATHINFO1,FILEMODIFICATIONDATE1,FILE1,MD5SUM0
>
> form.MIMETYPE1: application/zip
>
> form.FILE1:
> C:\apps\cf8\runtime\servers\coldfusion\SERVER-INF\temp\wwwroot-tmp\neotm
> p6178.tmp
>
> form.MD5SUM0: 1d5b15e6ea67c1fb85e344b6ee7dcd43
>
> form.FILEMODIFICATIONDATE1: 08/01/2010 16:45:48
>
> form.PATHINFO1: \\serverName\users\fred\docs
>
>
>
> As you see, CF is putting the received file in the dir stated in
> form.FILE1 - it is there, and I can move it to where I want, and it is
> intact.
>
>
>
> Problem is I don't know what the original filename was.  That may be an
> issue with the java app, but more to the point, I'm not using CFFILE
> action="upload" here at all so I'm probably doing something
> fundamentally wrong.
>
>
>
> Has anyone any guidance on how I can use this?
>
>
>
> Thanks
>
>
>
> Richard
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330351
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
  • java uploader Richard Meredith-Hardy
    • Re: java uploader Pete Freitag

Reply via email to