Re: Getting uploaded file name without CFFILE action=upload

2010-07-18 Thread Arsalan Tariq Keen
-- 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

Re: Getting uploaded file name without CFFILE action=upload

2010-07-18 Thread .jonah
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

Re: Getting uploaded file name without CFFILE action=upload

2010-07-18 Thread Ian Skinner
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.

Re: Getting uploaded file name without CFFILE action=upload

2010-07-18 Thread .jonah
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

Re: Getting uploaded file name without CFFILE action=upload

2010-07-18 Thread Gerald Guido
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

Getting uploaded file name without CFFILE action=upload

2010-07-17 Thread .jonah
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

CFFILE action=upload

2006-11-10 Thread coldfusion . developer
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

Re: CFFILE action=upload

2006-11-10 Thread Ryan Stille
[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

Re: CFFILE action=upload

2006-11-10 Thread Rick Root
[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

Re: CFFILE action=upload

2006-11-10 Thread Gert Franz
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

Re: CFFILE action=upload

2006-11-10 Thread Massimo Foti
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

RE: CFFILE action=upload

2006-11-10 Thread Bobby Hartsfield
: [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

Re: CFFILE action=upload

2006-11-10 Thread coldfusion . developer
. -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

CFFILE action = upload

2002-03-26 Thread chris.alvarado
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

Re: CFFILE action = upload

2002-03-26 Thread Dave Carabetta
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

cffile action=upload error

2001-04-12 Thread Geoff Hoffman
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

cffile action=upload accetps all file types

2000-12-12 Thread Douglas Jordon
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,

RE: cffile action=upload accetps all file types

2000-12-12 Thread Bruce Heerssen
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

RE: cffile action=upload accetps all file types

2000-12-12 Thread Andrew
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

CFFILE ACTION=UPLOAD probs

2000-10-17 Thread Adrian Cesana
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

Re: CFFILE ACTION=UPLOAD probs

2000-10-17 Thread Alex Sherwood
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