Questions tagged [cffile]

cffile - ColdFusion tag for manipulating files on the server

96 questions
0
votes
3 answers

Unable to access cffile.clientDirectory

I am new to ColdFusion. I am using ColdFusion 10. I am trying to upload multiple image files using cffileupload. I am able to upload files as expected. But I would like to get the metadata before uploading and get the clientFileDirectory of the…
Sree
  • 13
  • 8
0
votes
1 answer

Reading a CSV or Pipe delimited file

I am trying to read a csv file that is using a | delimiter instead of ,. I am using
Geo
  • 3,160
  • 6
  • 41
  • 82
0
votes
1 answer

Pass dynamically generated directory name to Destination attribute of cffile tag

I am struggling with the following cffile code. I am trying to pass a dynamically generated images directory, the name of which is stored in a session variable (one for each new member). I need to pass that name to the destination attribute of the…
Paresh
  • 11
  • 3
0
votes
2 answers

Can I use Coldfusions cffile action="upload" with an image destination url?

I need to loop over a list of pathnames and image names and verify that the file exists and is a jpg/png, before changing it's size and storing it to the server. I want to use this:
frequent
  • 27,643
  • 59
  • 181
  • 333
0
votes
2 answers

fileExist() does not recognize any files I provide it

I have a file upload after a form submission and I need to delete the old file that was there after my file upload is complete. Everything works properly, form submission, file upload. But Coldfusion in general doesn't seem to be able to recognize…
d.lanza38
  • 2,525
  • 7
  • 30
  • 52
0
votes
3 answers

Does "write" allow a file to execute before renaming/writing the file?

I've created a file upload for my client and I'm trying to make things as secure as possible. I'm using the following code to handle the file upload. The idea is to rename the file and write it to a folder outside the web root. The question is,…
Ofeargall
  • 5,340
  • 5
  • 28
  • 33
1 2 3 4 5 6
7