Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
weswhite7 #1
CFFILE Upload Suddenly Not Working
Originally this worked, and now it processes it and puts the correct url in the
database, but it just doesn't upload the image. Any help why it suddenly stops?
<cfif form.filecontents eq "">
<cfelse>
<cffile action = "upload" filefield="filecontents"
destination = "/home/sla/public_html/images/uploads/"
accept = "image/*"
nameconflict="overwrite" attributes="normal" >
<cfset FileLocation = "http://home.sbcomp.net/~sla/images/uploads/" &
CFFILE.ServerFile>
</cfif>
weswhite7 Guest
-
Problem with cffile upload
Hi! I've checked in this forum and in google but just can't find any solution to following error: When i'm uploading a - not so (2-3 mb) -... -
CFFILE - Upload on Unix/Solaris not working..
after removing MODE and ACCEPT This still does not work: <CFFILE ACTION="UPLOAD" FILEFIELD="Form.FiletoUpload"^M... -
CFFILE Upload
Hi, i would build an upload form for pictures. how can i limit the upload to the size attributes (width & height) of the picture? the user should... -
CGI upload to CFFILE
Hello, I find that there is a security feature that does not allow the prefilling of the path in a form "<input type="file" name="fieldname">" tag.... -
cffile upload - makeunique not working
My application allows clients to upload images to their account. The process of my application is: upload file from form, set to variable myFile,... -
jdeline #2
Re: CFFILE Upload Suddenly Not Working
I'd bet the permissions on your server got changed.
jdeline Guest
-
weswhite7 #3
Re: CFFILE Upload Suddenly Not Working
Nope, the settings have been untouched. And I've checked, and rechecked those
and there the same, CFFILE is allowed. The weird part about it is that it
processes all of that.. it puts the URL with the filename into the database. It
just doesn't upload the image anymore.
weswhite7 Guest
-
Chikowski #4
Re: CFFILE Upload Suddenly Not Working
This may be a dumb question, but does it matter what the file types are, did they change?
Chikowski Guest
-
weswhite7 #5
Re: CFFILE Upload Suddenly Not Working
file types never changed, only images allowed
weswhite7 Guest
-
Unregistered #6
Re: CFFILE Upload Suddenly Not Working
Try removing each cffile attribute until you find the one that's causing the problem. I did this and it began working after I removed the "accept" attribute. Now I have to figure out why that doesn't work but my image is being uploaded.
Unregistered Guest



Reply With Quote

