Has anyone ever build an uploadhandler for the JumpLoader file uploader befor? I can't find anything on google for it and they don't have much on there website. I am just looking for a code snippet here. I have no idea where to start.
JumpLoader File Upload
Page 1 of 14 Replies - 4679 Views - Last Post: 16 March 2010 - 05:29 PM
Replies To: JumpLoader File Upload
#2 Guest_Gunn*
Re: JumpLoader File Upload
Posted 13 March 2010 - 11:18 AM
The PHP script on the jumploader site worked out the tin for me. I've extended it to write some stuff to the db.
#3
Re: JumpLoader File Upload
Posted 15 March 2010 - 06:03 AM
As this is an old CF thread resurrected with a thumbs up on how well PHP worked, perhaps xheartonfire43x can mention here what the outcome was for his use of this piece. I'd be curious to know how he managed as I have a site that could certainly use a replacement for the standard HTML file upload method.
#4
Re: JumpLoader File Upload
Posted 16 March 2010 - 02:09 PM
Gosh, this is an old thread. Well I cannot remember for the life of me how I ended up getting it to work, but I DO remember the application and I DO have it archived somewhere. I will dig it up tonight and post my handler.
#5
Re: JumpLoader File Upload
Posted 16 March 2010 - 05:29 PM
So I dug up my code from when I worked with the JumpLoader application. It is actually really simple, and if I remember correctly this worked just fine:
If that doesn't work for anyone please let me know and I will figure out why.
<cfset photopath = localphotopath & session.userfullname> <cfif directoryExists(photopath)> <cfelse> <cfdirectory action="create" directory="#photopath#"> </cfif> <cffile action="upload" filefield="file" destination="#photopath#" nameconflict="skip" mode="777"> <cfdump var="#cffile.serverfile#"><br />
If that doesn't work for anyone please let me know and I will figure out why.
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote





|