4 Replies - 5026 Views - Last Post: 16 March 2010 - 05:29 PM Rate Topic: -----

#1 xheartonfire43x  Icon User is offline

  • D.I.C Regular

Reputation: 46
  • View blog
  • Posts: 454
  • Joined: 22-December 08

JumpLoader File Upload

Posted 02 June 2009 - 04:08 PM

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.
Is This A Good Question/Topic? 0
  • +

Replies To: JumpLoader File Upload

#2 Guest_Gunn*


Reputation:

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.
Was This Post Helpful? 0

#3 Craig328  Icon User is offline

  • I make this look good
  • member icon

Reputation: 1926
  • View blog
  • Posts: 3,471
  • Joined: 13-January 08

Re: JumpLoader File Upload

Posted 15 March 2010 - 06:03 AM

:) The good news is that xheartonfire43x has the number 1 spot when you Google "jumploader coldfusion" with this question.

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.
Was This Post Helpful? 0
  • +
  • -

#4 xheartonfire43x  Icon User is offline

  • D.I.C Regular

Reputation: 46
  • View blog
  • Posts: 454
  • Joined: 22-December 08

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.
Was This Post Helpful? 0
  • +
  • -

#5 xheartonfire43x  Icon User is offline

  • D.I.C Regular

Reputation: 46
  • View blog
  • Posts: 454
  • Joined: 22-December 08

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:
<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.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1