Skip to main content
Participant
August 28, 2006
Question

Uploading files using CF foms

  • August 28, 2006
  • 1 reply
  • 595 views
I'm trying to use a file upload tutorial from ASFUSION.COM. I've downloaded the files and I have it in my page. My issue is, in what part of the code do I put the path to the folder on my server reserved for my uploads? Also how is that path written, for example if the file is in the root file of my server, do you write the path like this:

/myuploads or ../mypuloads

Her is the link to the files and tutorial for you to view.
http://www.asfusion.com/examples/item/file-upload-with-coldfusion-flash-forms

thanks

Rob.
This topic has been closed for replies.

1 reply

mistainfaAuthor
Participant
August 28, 2006
Sorry I forgot to mention the upload code in question is the first tutorial when you view the link to the tutorial. The upload panel itself is the green one.

Thanks

Rob.
Participant
August 29, 2006
Ok, I figured out where to put the filename of the folder I want to store my images into. But I don't understand the writing of the extended path. For example, this is the code I have for my destination file: destination="#expandpath(".")#"

Now, how do I write the path if my folder name is "myuploads" is it like this? destination="#expandpath("./myuploads")#"

Thanks