--
From: .jonah jonah@creori.com
Sent: Sunday, July 18, 2010 7:10 AM
To: cf-talk cf-talk@houseoffusion.com
Subject: Getting uploaded file name without CFFILE action=upload
I need to upload files and then immediately turn around and re-upload
them to another site using CFHTTP
I've considered that and it's a possibility. What I'm really looking
for is how to access where CF is internally holding the filename between
the time it is uploaded to the web server and the time you process it
with cffile upload.
I learned something interesting though: If you upload a
Well, you could get it from the same source that ColdFusion is getting
it, which is where the Web server got it.
From the headers of the HTTP request sent by the browser to the web server.
Explore the request headers and you should find it.
That sounds like a good idea.
When CF receives a POST with encoding application/x-www-form-urlencoded,
you can access the URL encoded form fields via getHttpRequestData().content
HOWEVER when the POST is multipart/form-data to handle file uploads,
getHttpRequestData().content is an empty
theoretically
:D
Regards,
Arsalan
--
From: .jonah jonah@creori.com
Sent: Sunday, July 18, 2010 7:10 AM
To: cf-talk cf-talk@houseoffusion.com
Subject: Getting uploaded file name without CFFILE action=upload
I need to upload files
of the newly uploaded file.
#cffile. serverFile# gives me the name after I've run CFFILE
action=upload ...
Is it possible to get the clientFile name or serverFile name of the .tmp
file without calling CFFILE action=upload ... ?
Thanks,
.jonah
All,
Does anyone know a way to check a image file's height and width before or
after an image has been uploaded? I'm restrictinig the file type for *.jpg only.
I want to take the height and width values of the image being uploaded and
see if the values fall within an acceptable height and width
[EMAIL PROTECTED] wrote:
All,
Does anyone know a way to check a image file's height and width before or
after an image has been uploaded? I'm restrictinig the file type for *.jpg
only.
I want to take the height and width values of the image being uploaded and
see if the values fall
[EMAIL PROTECTED] wrote:
Does anyone know a way to check a image file's height and width before or
after an image has been uploaded? I'm restrictinig the file type for *.jpg
only.
Search the archive, there was a discussion.. last week maybe... Massimo
has a javascript that detects image
If you are using Railo then you can use the tag CFFILE action=info
which returns the width and height of an image file if it is jpg or
gif...
Greetings / GrĂ¼sse
Gert Franz
Customer Care
Railo Technologies GmbH
[EMAIL PROTECTED]
www.railo.ch
Join our Mailing List / Treten Sie unserer
Search the archive, there was a discussion.. last week maybe... Massimo
has a javascript that detects image dimensions BEFORE uploading.
http://www.massimocorner.com/validator/samples/image_upload.htm
to check after, you can use image.cfc (www.opensourcecf.com/imagecfc) ..
probably more
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, November 10, 2006 11:38 AM
To: CF-Talk
Subject: CFFILE action=upload
All,
Does anyone know a way to check a image file's height and width before or
after an image has been uploaded? I'm restrictinig the file type for *.jpg
only.
I want
.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, November 10, 2006 11:38 AM
To: CF-Talk
Subject: CFFILE action=upload
All,
Does anyone know a way to check a image file's height and width before or
after an image has been uploaded? I'm restrictinig the file type
has anyone experimented with the size of files that can be uploaded using
cffile?
Currently working on a document managment application and some fairly large
files need to be uploaded and I was curious about the limitations of cffile.
From a 'user experience' standpoint, i know i can use
has anyone experimented with the size of files that can be uploaded using
cffile?
Currently working on a document managment application and some fairly large
files need to be uploaded and I was curious about the limitations of
cffile.
From a 'user experience' standpoint, i know i can use
I have designed some forms which allow the user to upload jpegs and
QuickTime movies to the server. It was working before, but now I
am getting the following error:
===
Error Occurred While Processing Request
Error Diagnostic
I've never used the CFFILE upload before, and I'm trying to limit
uploads to gifs and jpegs. My syntax is:
cffile action="upload"
accept="image/gif, image/jpg, image/jpeg"
etc
but any format is accepted. I can test the content with cfif and
file.contentsubtype variable,
That is a limitation of the browser. Use server side processing to see if the
file is actually what you want.
-Original Message-
From: Douglas Jordon [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 12, 2000 2:56 PM
To: CF-Talk
Subject: cffile action="upload" accetp
udios, inc.
www.wwstudios.com
"I believe five out of four people have trouble with fractions."
-Original Message-
From: Douglas Jordon [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 12, 2000 3:56 PM
To: CF-Talk
Subject: cffile action="upload" accetps all file type
ons on how to get
around this?
Thanks,Adrian
cftry
CFFILE ACTION="UPLOAD" filefield="filename" destination="G:\blah\"
nameconflict="ERROR" accept="text/plain"
CFFILE ACTION="RENAME" source="G:\blah\#File.ServerFile#"
destina
e contents not the extension. Any recommendations on how to get
around this?
Thanks,Adrian
cftry
CFFILE ACTION="UPLOAD" filefield="filename" destination="G:\blah\"
nameconflict="ERROR" accept="text/plain"
CFFILE ACTION="RENAME" sou
21 matches
Mail list logo