Re: File Upload/Management

2015-04-01 Thread Russ Michaels
There is a cffilemanager, also if you look on the Ckeditor site they also do a file manager, don't recall if there is a xf version. Tinymce also do one I believe. On Wed, Apr 1, 2015 at 21:03 PM, Robert Harrison rharri...@aimg.com wrote: I have a client who wants to be able to manage a file

RE: File Upload with Chunk Method

2014-07-03 Thread UXB
I am trying to implement a file upload utilizing Plupload and its chunk methodology I can't seem to solve for when the user opens a new browser window and proceeds to upload the same file OR file with the same name as is already uploading. Just in case anyone might find this of interest

Re: File Upload uploading open file

2011-03-08 Thread Pete Freitag
Hi Don, The mime type of the file is determined by the browser (client side), and then sent in the HTTP request to upload the file. ColdFusion uses the same mime type sent by the browser in cffile. So it sounds like the accept attribute of cffile is causing this exception to be thrown. Try

Re: file upload - preventing double or more full stops in file name

2011-03-07 Thread Dave Watts
I would like to retrieve the original path of the file upload for the purposes of grabbing the initial file name and then checking to see how many full stops (.) are in the original file. I need this to happen before I process it via CFFILE. Right now the form data posts back in a

Re: file upload - preventing double or more full stops in file name

2011-03-07 Thread Don
Why do you need to do this before you process it with CFFILE? Because once its uploaded the server hacks off the last (.) For example: original file: somefile.mack.txt renamed file on server: somefile.mack I would like to retrieve the original path of the file upload for the purposes

Re: file upload - preventing double or more full stops in file name

2011-03-07 Thread Dave Watts
Why do you need to do this before you process it with CFFILE? Because once its uploaded the server hacks off the last (.) For example: original file: somefile.mack.txt renamed file on server: somefile.mack By the time your server-side script runs, the file has already been uploaded.

Re: Re: file upload - preventing double or more full stops in file name

2011-03-07 Thread William Seiter
Please have a look at this post: http://www.williamoncoldfusion.com/index.php/knowledgebase/file-uploading If you are referring to the cffile.serverfilename key that is available after the cffile upload command, that brings back somefile.mack, the extension is in a different key off of cffile

Re: file upload - preventing double or more full stops in file name

2011-03-07 Thread Ian Skinner
On 3/7/2011 11:40 AM, Don wrote: Why do you need to do this before you process it with CFFILE? Because once its uploaded the server hacks off the last (.) For example: original file: somefile.mack.txt renamed file on server: somefile.mack Well, as Dave indicated, ColdFusion is not

Re: file upload - preventing double or more full stops in file name

2011-03-07 Thread Don
Thanks guys. IAN this caught my attention: The client reads the file from the user's file system and encrypts it into the header of the request I've been using fiddler to view the headers and see the data I want : 200 Content-Disposition: form-data; name=b_file; filename=C:\Documents and

Re: file upload - preventing double or more full stops in file name

2011-03-07 Thread Don
William, Ah I get you. since the extension will be cut off and placed within another variable all I would have to do post file upload is search the server.filename for a(.). Easy. Cheers. Please have a look at this post: http://www.williamoncoldfusion.

Re: file upload - preventing double or more full stops in file name

2011-03-07 Thread Ian Skinner
On 3/7/2011 12:52 PM, Don wrote: 200 Content-Disposition: form-data; name=b_file; filename=C:\Documents and Settings\dsdfsd\Desktop\clean up\test.docupload.doc And that is different from the cffile.clientFile property? Do note that cffile.clientFile is the full file name,

Re: File Upload Security

2011-01-18 Thread Matt Quackenbush
Steve, First of all, I think it was a very wise move on your part to make these changes with regard to uploads. Kudos for listening to constructive criticism and not becoming totally defensive and dismissive about it! :-) I have not read through all of the material yet, but I had a quick

Re: File Upload Security

2011-01-18 Thread Steve Bryant
Matt, Thanks for the kind words. You are certainly right that I didn't do a good job in outlining the options available for custom tag usage in the documentation. So, I changed the installation page to link to a new page on custom tags.

Re: File Upload Security

2011-01-18 Thread Matt Quackenbush
Rock on. :-) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340986

Re: File Upload Security

2011-01-18 Thread Raymond Camden
This configuration would require moving custom tags into the server-wide custom tags path. If you use cfmodule to call your tags instead of the cf_mytag syntax, you do not need to move the tags into the server-wide custom tags path.  It is for this exact reason that I always use cfmodule.

Re: File Upload Security

2011-01-18 Thread Matt Quackenbush
On Tue, Jan 18, 2011 at 3:40 PM, Raymond Camden wrote: This configuration would require moving custom tags into the server-wide custom tags path. If you use cfmodule to call your tags instead of the cf_mytag syntax, you do not need to move the tags into the server-wide custom tags

RE: File Upload Security

2011-01-18 Thread Mark A. Kruger
Steve, Nice job looks like you took that file security thing to heart. -mk -Original Message- From: Steve Bryant [mailto:st...@bryantwebconsulting.com] Sent: Tuesday, January 18, 2011 10:09 AM To: cf-talk Subject: File Upload Security When I released my Neptune framework a few

Re: File Upload Security

2011-01-18 Thread Steve Bryant
Ray, The next sentence in the documentation starts with This isn't required. Based on Matt's advice, I also added a page to the documentation detailing all of the options for custom tag use (CustomTags folder, This.CustomTagPaths , CFIMPORT, CFMODULE). I prefer This.CustomTagPaths as well.

Re: File Upload Security

2011-01-18 Thread Steve Bryant
Mark, Thanks. I really do appreciate all of the advice. It was really helpful. Steve Steve, Nice job looks like you took that file security thing to heart. -mk ~| Order the Adobe Coldfusion Anthology now!

Re: File Upload Security

2011-01-18 Thread Matt Quackenbush
As I stated earlier in reply to Ray, I too prefer this.customTagPaths. My suggestion was actually based upon my not-so-hot memory from a previous read through of the server requirements. I was thinking that support was focused on CF 6.1+, but I see that it is actually based on CF8+, with the

Re: File Upload - Changing MIME Types

2010-09-29 Thread Dave Watts
This might be slightly off topic, but I am hoping that someone can steer me in the right direction. I have an upload form that should accept CSV files and nothing else.  So I set the following MIME types as permitted: text/csv,text/comma-separated-values,application/csv,application/x-csv

Re: File Upload - Changing MIME Types

2010-09-29 Thread Jacob Munson
From what I understand, the browser can send whatever mime type it wants. And yes, there are security concerns here. In my experience, dealing with mime types is a pain in the because browsers don't always seem to follow a standard when processing files. I think I found a java library that

Re: File Upload - Changing MIME Types

2010-09-29 Thread Matt Quackenbush
Thanks, Jason. That is essentially what I wound up doing. :-) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive:

Re: File Upload - Changing MIME Types

2010-09-29 Thread Dave Watts
As I understand it, the files are not actually sent in any MIME type, per se, but the receiving browser interprets MIME type based on its coding, which, as you found out, is determined by both OS and browser settings. No, I don't think this is correct. When downloading a file from a web

re: File Upload - Changing MIME Types

2010-09-28 Thread Jason Fisher
As I understand it, the files are not actually sent in any MIME type, per se, but the receiving browser interprets MIME type based on its coding, which, as you found out, is determined by both OS and browser settings. As far as I know, there's no way around it, especially since the browser

RE: File Upload - Changing MIME Types

2010-09-28 Thread Russ Michaels
Matt, I suspect it is down to what software you have installed. If you have Excel installed, then a .csv will be linked to excel by default which is application/vnd.ms-excel. If you have no applications installed that recognize a csv file then it will probably be text/csv. In order for there

Re: File Upload with CFKeditor in CF8

2010-01-14 Thread Pete Freitag
Hi Mallory, If you have applied the security hotfix (hf801-77218) it will actually block any CFM request matching /fckeditor/editor/filemanager/ anywhere in the URI, unless you add -Dcoldfusion.fckupload=true to your JVM startup arguments. I have posted details on my blog here:

Re: File upload with cffile errors with Mac OSX

2009-06-22 Thread ColdFusion Developer
She's using Safari version 3.2.3 ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive:

Re: File upload with cffile errors with Mac OSX

2009-06-22 Thread ColdFusion Developer
Code I'm using for the file upload: cffile action=upload filefield=fileUpload1 destination=#application.absolutePath#assets/images/userPhotos/ nameconflict=makeunique accept=image/* / I guess you could consider it newbyish since it's not in a CFC or custom tag, just a form processing page.

Re: File upload with cffile errors with Mac OSX

2009-06-22 Thread Mark Atkinson
IIRC some browsers on Macs add an empty space to some or all form fields. Use the trim function on the action page. HTH Mark ColdFusion Developer wrote: Code I'm using for the file upload: cffile action=upload filefield=fileUpload1

Re: File upload with cffile errors with Mac OSX

2009-06-20 Thread Charles
There's a lot of different browsers you can use on a mac, might need more information than that. I use Safari and Firefox, and regularly upload using cffile with no problems. On Jun 20, 2009, at 1:13 PM, ColdFusion Developer wrote: I have a file upload application that uses cffile. It's

Re: File upload with cffile errors with Mac OSX

2009-06-20 Thread Dave l
The flash player on a mac sometimes needs an output to work right especially on file uploads. How you do this depends on how you are doing the upload... basically if you are doing it newbyish or in a cfc or custom tag.. Either show some code or just output something like one of these:

RE: File upload suddenly stops working

2009-05-08 Thread Mosh Teitelbaum
Brent: Thanks. I have FTP access to the server so I've been able to work with the code but not with the OS or CF Admin. Modifying the code hasn't changed anything so I'm fairly certain it's a server-side (permissions, etc.) issue. -- Mosh Teitelbaum evoch, LLC http://www.evoch.com/ Brent

RE: File upload suddenly stops working

2009-05-08 Thread Mosh Teitelbaum
Dennis: Thanks for the reply. Unfortunately, this is not a client-side issue. The problem appears regardless of the client computer being used. -- Mosh Teitelbaum evoch, LLC http://www.evoch.com/ UXB Internet wrote: We had a case a while ago where a client using a similar cffile upload

RE: File upload suddenly stops working

2009-05-07 Thread UXB Internet
no longer able to upload files to their website via HTML forms. The code was written 6 (?) years ago on CF5/IIS/Win2000 using CFFILE. We had a case a while ago where a client using a similar cffile upload script/HTML form suddenly couldn't upload files through their admin page. The problem

Re: File upload suddenly stops working

2009-05-06 Thread Brent Nicholas
If you have access to the server, try taking the offending code and reducing it to just the bare bones to get it to work while staying in line with what the original code does. Once you get it to work in an 'uncluttered' manner, you can add everything else back in. Yeah, it's a pain in the

Re: File upload suddenly stops working

2009-05-05 Thread Matt Robertson
A Windows security update would seem to be one of the usual suspects when it comes to mysterious behavioral changes. Just a shot in the dark. I had a blowup today myself on some longstanding code but it was a CFX based issue. -- -...@robertson-- Janitor, The Robertson Team mysecretbase.com

RE: File upload suddenly stops working

2009-05-05 Thread Andy Matthews
I just had an issue with my host the other day that sounds similar. I was trying to login to my CMS, and the action page for the login form blew up. It kept telling me that form.username doesn't exist. When I tried to dump the form scope it was empty...bizarre. It fixed itself in a few hours,

RE: File upload suddenly stops working

2009-05-05 Thread Mosh Teitelbaum
Andy: This problem has been going for at least several weeks so it doesn't appear as if it's going to fix itself. Another problem is that they apparently haven't had the need to upload something for a (long) while so we don't have any good sense of when the uploads stopped working. We just

RE: File upload suddenly stops working

2009-05-05 Thread Mosh Teitelbaum
Matt: Have you heard of any security updates that would affect CF5 in this way? -- Mosh Teitelbaum evoch, LLC http://www.evoch.com/ Matt Robertson wrote: A Windows security update would seem to be one of the usual suspects when it comes to mysterious behavioral changes.

Re: File upload suddenly stops working

2009-05-05 Thread Matt Robertson
Matt: Have you heard of any security updates that would affect CF5 in this way? No not at all. I was just throwing out a potential culprit, as in if I haven't changed anything, what could have changed automatically on me? Another potential for change then, is the browser itself. Thats

RE: File upload suddenly stops working

2009-05-05 Thread Al Musella, DPM
It might be the security settings on the disk where the temp file is stored, or in the directory you ultimately save it to. Maybe somebody at the hosting place decided to tighten up security. ~| Adobe® ColdFusion® 8

RE: File upload suddenly stops working

2009-05-05 Thread Mosh Teitelbaum
Al Musella, DPM wrote: It might be the security settings on the disk where the temp file is stored, or in the directory you ultimately save it to. Maybe somebody at the hosting place decided to tighten up security. Yeah, I mentioned that to the hosting company's tech guys. They checked and

RE: File upload suddenly stops working

2009-05-05 Thread Mosh Teitelbaum
Matt Robertson wrote: No not at all. I was just throwing out a potential culprit, as in if I haven't changed anything, what could have changed automatically on me? The problem here is that more than just some patches has changed except the code and, from my understanding, the version of CF

Re: File upload and make unique

2009-01-09 Thread Ben Nadel
Are you saying that ColdFusion is throwing errors during the file upload? Or is something else going on? -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need ColdFusion Help?

RE: File upload and make unique

2009-01-09 Thread Huff, Jerome P.
No, Coldfusion is ok, its when the user saves the file to their local machine, if their local path plus the file name ends up being too long ... -Original Message- From: Ben Nadel [mailto:b...@bennadel.com] Sent: Friday, January 09, 2009 10:58 AM To: cf-talk Subject: Re: File

RE: File upload and make unique

2009-01-09 Thread Adrian Lynch
Rename it before giving it back to them. Not idea, but then you can't control the users OS. Adrian -Original Message- From: Huff, Jerome P. [mailto:jerome.h...@ngc.com] Sent: 09 January 2009 16:05 To: cf-talk Subject: RE: File upload and make unique No, Coldfusion is ok

Re: File upload and make unique

2009-01-09 Thread Ben Nadel
How are you serving it up to the user? If you use CFHeader / CFContent, you can set the filename: cfheader name=content-disposition value=attachment; filename=your_file_name.ext / -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User

Re: File upload and make unique

2009-01-09 Thread Dave Watts
We all know that cf8 appends a 1 to the end of the file name to make a unique new name, which works fine, until the file name gets to 255 characters. Is there a way to change this behavior? I have a web application that users check out/in documents and there are some documents that are

RE: File upload and make unique

2009-01-09 Thread Robert Harrison
Assuming you are uploading from a form and the name of the file field is file, the routine below will do it. You will need to rename the paths as necessary. This routine will: 1) Rename the file with incremental numbers (1, 2, 3, etc) 2) Ensure the file name uses only standard characters (so it

RE: File upload and make unique

2009-01-09 Thread Huff, Jerome P.
This is what I was looking for thanks! I will study the code and integrate into our website. Thanks again! -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Friday, January 09, 2009 12:19 PM To: cf-talk Subject: RE: File upload and make unique

RE: File upload and make unique

2009-01-09 Thread Huff, Jerome P.
- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Friday, January 09, 2009 12:19 PM To: cf-talk Subject: RE: File upload and make unique Assuming you are uploading from a form and the name of the file field is file, the routine below will do it. You will need to rename the paths

Re: File upload 250 MB Discussion

2008-08-28 Thread gary gilbert
You do realize of course that this is a Coldfusion mailing list and not a Struts and/or JSP mailing list? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Re: File upload 250 MB Discussion

2008-08-26 Thread ashwini kulkarni
Hi All I am trying to upload the file of 1kb to 250MB. I had developed 2 applications 1In Struts framework (one application) 2 and using servlets and JSP (second application) I am using second application (using servlets and JSP ) when i am trying to upload locally on my machine it is working

RE: File Upload: TimeOut Problems

2008-07-11 Thread Adrian Lynch
Could it be a file size limit instead of a timeout? What does the error message say? Adrian www.adrianlynch.co.uk -Original Message- From: Robert Harrison [mailto:[EMAIL PROTECTED] Sent: 11 July 2008 13:54 To: CF-Talk Subject: File Upload: TimeOut Problems On CF7, using form enctype

Re: file upload/virus scan

2008-04-02 Thread Tom Mullen
If you decide you need to scan uploaded files, you may wish to evaluate Metascan from OPSWAT (www.opswat.com). It is an API that enables integration with most AV packages in the market; supported development interfaces include C++, COM, JAVA; sample code in C# and ASP. Evaluation package is

Re: file upload/virus scan

2008-03-13 Thread Tom Chiverton
On Thursday 13 Mar 2008, Mark Fuqua wrote: 1. If all I allow for uploads is pdf and jpg, is that still neccessary? Yes. These formats could cause buffer overflows of vulnerable implementations, for instance. You might want to check your virus scanner picks these up. 2. My site is on a vps

Re: File Upload H2

2008-03-06 Thread Phillip Vector
If it hurts here when you do that, don't do that. :) Sorry.. Couldn't resist.. Seriously though, does it have to be that big? Does it do the same on a smaller filesize? On Thu, Mar 6, 2008 at 12:37 PM, Ryan J. Heldt [EMAIL PROTECTED] wrote: Greetings- I'm having a problem with a file upload

Re: File Upload H2

2008-03-06 Thread Ryan J. Heldt
Is a 2MB file really all that ColdFusion can handle. I know we've done uploads of other files (like images and PDFs) that are far bigger and doesn't cause a problem. I guess to answer your question, I do have smaller files that seem to upload just fine. Thanks! Ryan Phillip Vector wrote: If

Re: File Upload H2

2008-03-06 Thread Phillip Vector
It's not that coldfusion can't handle bigger files (I used to work at a place that handled 10MB uploads daily without a hitch), it's that the code you wrote may not be able to handle it. It could also be the server processor may be below par for the job (more likely). What is the code that you

Re: File Upload H2

2008-03-06 Thread James Holmes
What do cfserver.log and your other logs say about the server when it crashes? On Fri, Mar 7, 2008 at 7:45 AM, Ryan J. Heldt [EMAIL PROTECTED] wrote: Is a 2MB file really all that ColdFusion can handle. I know we've done uploads of other files (like images and PDFs) that are far bigger and

Re: File upload

2008-02-06 Thread Claude Schneegans
I check the file name and see if it already exists in the database. If it does, then I return the error. If it doesn't exist, then go and perform the cffile action. This is the way you see it, but not the best and easiest way to do it. This is the way I do it: - upload the file and rename it on

Re: File upload

2008-02-05 Thread Todd Rafferty
You're still going to run into an valid issue where two completely different videos have the same name. When it comes to CMS, even if they're dupes, they're valid. The client is responsible for weeding out the duplicates. Just getting the name (in your instance), wouldn't do you any good. It's

RE: File upload - my new posts aren't coming through

2008-02-05 Thread Andy Matthews
Sure thing Michael, will do. -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: Monday, February 04, 2008 5:28 PM To: CF-Talk Subject: Re: File upload - my new posts aren't coming through Not at all. I'm just wondering why the posts are not coming in/creating new

RE: File upload

2008-02-05 Thread Rick Sanders
PROTECTED] Sent: February-04-08 10:20 PM To: CF-Talk Subject: Re: File upload Out of curiosity, can you say why you need the filename before the file is uploaded to the server? On Feb 5, 2008 5:47 AM, Rick Sanders [EMAIL PROTECTED] wrote: Hello Bruce, Thanks for your reply. However, I'd like

RE: File upload

2008-02-05 Thread Rick Sanders
To: CF-Talk Subject: RE: File upload Why not have the user upload the file, rename it automatically if there is a conflict for a name that is referred to within the database, but also retain the original filename in the database for display to users. Rick -Original Message- From: Todd

RE: File upload

2008-02-05 Thread Dave Watts
I won't run into a valid issue if the file is never uploaded to the server in the first place. Basically the user submits the file, before the cffile action I check the file name and see if it already exists in the database. If it does, then I return the error. If it doesn't exist, then

Re: File upload

2008-02-05 Thread Ian Skinner
Rick Sanders wrote: Hi Todd, I won't run into a valid issue if the file is never uploaded to the server in the first place. Basically the user submits the file, before the cffile action I check the file name and see if it already exists in the database. If it does, then I return the error.

Re: File upload

2008-02-05 Thread Bruce Sorge
Why not use the makeunique option in the CFFILE tag? That way, if CF detects a file with the same name, it renames it automatically. Then you grab the serverfile name and enter that into the database. Bruce Rick Sanders wrote: Hi Rick, It doesn't solve the problem though. Here's the

Re: File upload

2008-02-05 Thread Azadi Saryev
, delete it from temp and return an error. Kind regards, Rick -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: February-05-08 11:28 AM To: CF-Talk Subject: RE: File upload Why not have the user upload the file, rename it automatically if there is a conflict

RE: File upload

2008-02-05 Thread Rick Faircloth
] Sent: Tuesday, February 05, 2008 9:27 AM To: CF-Talk Subject: Re: File upload You're still going to run into an valid issue where two completely different videos have the same name. When it comes to CMS, even if they're dupes, they're valid. The client is responsible for weeding out

RE: File upload

2008-02-05 Thread Rick Sanders
:[EMAIL PROTECTED] Sent: February-05-08 10:27 AM To: CF-Talk Subject: Re: File upload You're still going to run into an valid issue where two completely different videos have the same name. When it comes to CMS, even if they're dupes, they're valid. The client is responsible for weeding out

RE: File upload

2008-02-05 Thread Will Swain
: 05 February 2008 15:47 To: CF-Talk Subject: RE: File upload Hi Rick, It doesn't solve the problem though. Here's the problem: 1. User #1 uploads a file called Movie.wmv. The file is uploaded to site/videos/Movie.wmv. The file is referenced in the database in the video file field Movie.wmv . 2

RE: File upload

2008-02-05 Thread Dave Watts
It doesn't solve the problem though. Here's the problem: 1. User #1 uploads a file called Movie.wmv. The file is uploaded to site/videos/Movie.wmv. The file is referenced in the database in the video file field Movie.wmv . 2. User #55 also uploads a file called Movie.wmv which is a

Re: File upload

2008-02-05 Thread Ian Skinner
Rick Sanders wrote: I need to check to see if the file exists before it's uploaded, or it'll overwrite the existing video. Rick Not if you use of 'nameconflict=makeunique' parameter of the cffile... tag that exists for exactly this reason. With this parameter set, CF will see that

RE: File upload

2008-02-05 Thread Dave Watts
Your ASP example says just that. It gets the file name from the HTTP header. The reason the file name is in the HTTP header is because the entire file content is in the HTTP header. Just a minor correction, but neither the file name nor the file itself are in the HTTP response header.

RE: File upload

2008-02-05 Thread Rick Faircloth
10:55 AM To: CF-Talk Subject: RE: File upload Am I missing something? Why not just use the nameconflict=MAKEUNIQUE attribute of CFFILE. This will auto rename the file if a file with that name already exists. No overwriting of existing files. Like Rick said. Will -Original Message

RE: File upload

2008-02-05 Thread Rick Faircloth
on-screen. I do this all the time with Real Estate photos... Rick -Original Message- From: Rick Sanders [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 05, 2008 10:47 AM To: CF-Talk Subject: RE: File upload Hi Rick, It doesn't solve the problem though. Here's the problem: 1

RE: File upload

2008-02-04 Thread Rick Sanders
Hello Bruce, Thanks for your reply. However, I'd like to grab the file name before the file is actually uploaded to the server. Kind regards, Rick -Original Message- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: February-04-08 4:38 PM To: CF-Talk Subject: Re: File upload

Re: File upload

2008-02-04 Thread Bruce Sorge
DOH!. (slaps head). Heh. On Feb 4, 2008 12:44 PM, Robert Harrison [EMAIL PROTECTED] wrote: ClientFile is the name of the original file uploaded by the client. ServerFile is the name of the file after it's uploaded to the server. If you're doing a rename you may need Serverfile.

RE: File upload

2008-02-04 Thread Andy Matthews
CFFILE.clientFile Name of the file uploaded from the client's system CFFILE.serverFile Filename of the file saved on the server http://www.cfquickdocs.com/cf8/#cffile.upload -Original Message- From: Rick Sanders [mailto:[EMAIL PROTECTED] Sent: Monday, February 04, 2008 2:33 PM To:

RE: File upload

2008-02-04 Thread Robert Harrison
NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be . -Original Message- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Monday, February 04, 2008 3:38 PM To: CF-Talk Subject: Re: File upload ClientFile

RE: File upload

2008-02-04 Thread Dave Watts
After someone uploads a file in the form field, how can I grab the file name from the cffile action =upload? I've been through the documentation, and I can't see how to retrieve the file name from the file field? I tried displaying the #form.filefield# but it just shows me the temp

Re: File upload

2008-02-04 Thread Bruce Sorge
ClientFile is the variable you are looking for. Bruce Rick Sanders wrote: Hello list, After someone uploads a file in the form field, how can I grab the file name from the cffile action =upload? I've been through the documentation, and I can't see how to retrieve the file name from

RE: File upload

2008-02-04 Thread Rick Sanders
Hey Bruce, Thanks again. I do want to rename the file, so how would I go about this with serverfile? Thanks to everyone else who replied as well. Rick -Original Message- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: February-04-08 4:47 PM To: CF-Talk Subject: Re: File upload DOH

Re: File upload

2008-02-04 Thread Bruce Sorge
Actually it was Robert who posted ServerFile post. I misunderstood your post and thought that you wanted the file name that you are sending. My bad. Anyway, I don't think this is possible with CF, but CF can rename the file on it's own if there is a conflict. Just use the makeunique attribut.

Re: File upload

2008-02-04 Thread Ian Skinner
Rick Sanders wrote: Hello Bruce, Thanks for your reply. However, I'd like to grab the file name before the file is actually uploaded to the server. Kind regards, Rick You can't with ColdFusion. The browser does not tell the server anything about the file before the upload occurs. It

Re: File upload - my new posts aren't coming through

2008-02-04 Thread Bruce Sorge
I have that problem once in a while. Not sure what is going on with this though. weird. Bruce Andy Matthews wrote: Is anyone else having an issue with making new threads? I've tried to post two new threads today (once was sent twice) and it's not going through. But then my reply to the File

Re: File upload - my new posts aren't coming through

2008-02-04 Thread Michael Dinowitz
Not at all. I'm just wondering why the posts are not coming in/creating new threads. CCing me on new posts and/or doing the same while posting through the test list will help me trace the problem down. On Feb 4, 2008 6:04 PM, Andy Matthews [EMAIL PROTECTED] wrote: Michael... I'm using Outlook

Re: File upload - my new posts aren't coming through

2008-02-04 Thread Ryan Stille
I've had problems with occasional messages not coming through for a few weeks now, perhaps months. I always use plain text when posting to this list. -Ryan Bruce Sorge wrote: I use Thunderbird and I make sure to select Text Only when sending to any of your lists 99% of what I originally

Re: File upload - my new posts aren't coming through

2008-02-04 Thread Michael Dinowitz
Next time you post a new thread, please CC me. If you would like to test now, you can go to test list at http://www.houseoffusion.com/groups/test/ subscribe there and post there. I prefer tests to go to that list rather than to this one. Thanks On Feb 4, 2008 5:34 PM, Bruce Sorge [EMAIL

RE: File upload - my new posts aren't coming through

2008-02-04 Thread Andy Matthews
:[EMAIL PROTECTED] Sent: Monday, February 04, 2008 4:32 PM To: CF-Talk Subject: Re: File upload - my new posts aren't coming through The issue is probably due to you posting from a client that has a rich text post set as default. Rich text posts are usually base64 encoded which is rejected

RE: File upload

2008-02-04 Thread Rick Sanders
Hi Ian, I suspected as so. I don't know of any development platform that can grab the file name before going to the server. I have tried some javascript controls, but it doesn't work the same for all clients, and of course if someone has spyware or browser problems it'll crash their browser. I

Re: File upload - my new posts aren't coming through

2008-02-04 Thread Bruce Sorge
I use Thunderbird and I make sure to select Text Only when sending to any of your lists 99% of what I originally posts goes through fine. Bruce Michael Dinowitz wrote: The issue is probably due to you posting from a client that has a rich text post set as default. Rich text posts are usually

RE: File upload - my new posts aren't coming through

2008-02-04 Thread Andy Matthews
Is anyone else having an issue with making new threads? I've tried to post two new threads today (once was sent twice) and it's not going through. But then my reply to the File Upload thread came through just fine. andy ~|

RE: File upload

2008-02-04 Thread Rick Sanders
:[EMAIL PROTECTED] Sent: February-04-08 5:13 PM To: CF-Talk Subject: Re: File upload Actually it was Robert who posted ServerFile post. I misunderstood your post and thought that you wanted the file name that you are sending. My bad. Anyway, I don't think this is possible with CF, but CF can rename

Re: File upload - my new posts aren't coming through

2008-02-04 Thread Michael Dinowitz
The issue is probably due to you posting from a client that has a rich text post set as default. Rich text posts are usually base64 encoded which is rejected by the lists. Some rich text posts are html only with no text only alternate which is also rejected. Replying always works because the reply

Re: File upload

2008-02-04 Thread James Holmes
Out of curiosity, can you say why you need the filename before the file is uploaded to the server? On Feb 5, 2008 5:47 AM, Rick Sanders [EMAIL PROTECTED] wrote: Hello Bruce, Thanks for your reply. However, I'd like to grab the file name before the file is actually uploaded to the server. --

Re: File upload

2008-02-04 Thread Ryan Stille
I don't know why Bruce needs it, but I would love to be able to do it because it adds usability. When there are multiple file upload boxes, its easy to get confused as to what files you have selected already. The file input box is usually only about 20 characters wide (and not adjustable in

Re: File upload

2008-02-04 Thread James Holmes
That makes sense. This multi file uploader does that: http://www.adobe.com/devnet/coldfusion/articles/multifile_upload.html On Feb 5, 2008 12:02 PM, Ryan Stille [EMAIL PROTECTED] wrote: I don't know why Bruce needs it, but I would love to be able to do it because it adds usability. When

  1   2   3   >