RE: age old file upload question
> But can an AIR app load a jpg image from the file system, > perform image manipulation on it and then send it up? Yes. Here's an example: http://freshairapps.com/showcase/app/shrink_o_matic_image_batch_size_process ing/ Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307742 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: age old file upload question
On Thu, Jun 19, 2008 at 12:24 AM, Dave Watts <[EMAIL PROTECTED]> wrote: >> I think what might be cool would be some kind of ActiveX >> control that would resize the image *BEFORE* uploading it, >> but I'd want it to be as simple to use as a regular file >> upload form. > > Have you considered an AIR app for this? We're doing something similar with > AIR for use with a CMS. I suspect you could use something other than HTTP > from AIR, too. Actually, the HTTP call would be fine if the image could be resized FIRST by the AIR app so that users upload 40k images intead of 10MB images But can an AIR app load a jpg image from the file system, perform image manipulation on it and then send it up? -- Rick Root New Brian Vander Ark Album, songs in the music player and cool behind the scenes video at www.myspace.com/brianvanderark ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307704 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: age old file upload question
> I think what might be cool would be some kind of ActiveX > control that would resize the image *BEFORE* uploading it, > but I'd want it to be as simple to use as a regular file > upload form. Have you considered an AIR app for this? We're doing something similar with AIR for use with a CMS. I suspect you could use something other than HTTP from AIR, too. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307700 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
age old file upload question
okay. I'm working with a client who has a website that allows users to upload image files. He doesn't want to restrict the size limits of the file uploads, so sometimes these file uploads take 10-20 minutes depending on the original resolution of the image and the user's bandwidth. I regularly see these requests go over 5 minutes. I'm sure that http is NOT the best way to upload a 50 meg high res photograph. I think what might be cool would be some kind of ActiveX control that would resize the image *BEFORE* uploading it, but I'd want it to be as simple to use as a regular file upload form. Ultimately, the average user doesn't upload more than 5 or so images, but it seems like they're almost always high res, and there are currently 50,000 users and the site is continuing to grow. Thanks for your input. -- Rick Root New Brian Vander Ark Album, songs in the music player and cool behind the scenes video at www.myspace.com/brianvanderark ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307694 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: File Upload question
Try re-setting your permissions. Clint Tredway wrote: > I have essentially the same code as you. Thats why its so > frustrating! ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184929 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: File Upload question
I have essentially the same code as you. Thats why its so frustrating! On Fri, 19 Nov 2004 12:10:49 -0800, Bob Haroche <[EMAIL PROTECTED]> wrote: > Clint Tredway wrote: > > thats what I thought.. its just frustrating as I have a client > > deadline and this is not helping > > I use a file upload function on my Crystal Tech MX account without > problem -- just checked it. > > I don't know anything about using a temp directory, but I have set the > permissions for my designated upload directory to allow the account > owner to have full permissions, and to have "everyone" have read and > execute permissions. FWIW, here's my upload code on the action page > (receiving from an upload form with 5 file upload fields). > > > > > > > action="Upload" >filefield="fileUpload#i#" >nameconflict="overwrite" >destination="D:\path\to\my\upload\directory\"> > > > > HTH. > > - > Regards, > Bob Haroche > O n P o i n t S o l u t i o n s > www.OnPointSolutions.com > > ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184928 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: File Upload question
Clint Tredway wrote: > thats what I thought.. its just frustrating as I have a client > deadline and this is not helping I use a file upload function on my Crystal Tech MX account without problem -- just checked it. I don't know anything about using a temp directory, but I have set the permissions for my designated upload directory to allow the account owner to have full permissions, and to have "everyone" have read and execute permissions. FWIW, here's my upload code on the action page (receiving from an upload form with 5 file upload fields). HTH. - Regards, Bob Haroche O n P o i n t S o l u t i o n s www.OnPointSolutions.com ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184927 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: File Upload question
thats what I thought.. its just frustrating as I have a client deadline and this is not helping On Fri, 19 Nov 2004 15:52:56 +, John Beynon <[EMAIL PROTECTED]> wrote: > no, it's definitely their error. > > You *need* to have permission to write to the temp folder - CFFILE > writes into it first then the file is moved to the specified location. > It's invisible to you as a developer but from the server admins should > know about it - especially crystaltech!!! > > jb. > > > > > On Fri, 19 Nov 2004 09:41:46 -0600, Deanna Schneider > <[EMAIL PROTECTED]> wrote: > > Well, they must be doing sandboxes very differently than we're doing them. > > Granted I'm not the one creating the sandboxes. But, basically, the gist > > here is that I just tell the server guys where I want to upload _to_ and > > they make the sandbox that lets me do it. I don't alter the temp directory > > at all, and I wouldn't know how to do that > > > > > > > > > > have contacted them, here is the response I got. > > > > > > Due to CFMX Sandbox security, your site is locked to its own folder > > > structure. This means that you would not have access to the > > > windows/temp folder and you should be specifying a temp folder with > > > the site. I would assume this worked at one point because there may > > > have been an error with the sandbox. Once the sandbox was corrected, > > > you were denied to a folder outside the site's root. Let me know if > > > you need any futher help. > > > > > > > > > > > > ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184880 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: File Upload question
no, it's definitely their error. You *need* to have permission to write to the temp folder - CFFILE writes into it first then the file is moved to the specified location. It's invisible to you as a developer but from the server admins should know about it - especially crystaltech!!! jb. On Fri, 19 Nov 2004 09:41:46 -0600, Deanna Schneider <[EMAIL PROTECTED]> wrote: > Well, they must be doing sandboxes very differently than we're doing them. > Granted I'm not the one creating the sandboxes. But, basically, the gist > here is that I just tell the server guys where I want to upload _to_ and > they make the sandbox that lets me do it. I don't alter the temp directory > at all, and I wouldn't know how to do that > > > > > have contacted them, here is the response I got. > > > > Due to CFMX Sandbox security, your site is locked to its own folder > > structure. This means that you would not have access to the > > windows/temp folder and you should be specifying a temp folder with > > the site. I would assume this worked at one point because there may > > have been an error with the sandbox. Once the sandbox was corrected, > > you were denied to a folder outside the site's root. Let me know if > > you need any futher help. > > > > > > ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184878 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: File Upload question
I don't know how to change it either... All I know is that it was working and now its not and they don't seem to want to help much... thanks for the comments On Fri, 19 Nov 2004 09:41:46 -0600, Deanna Schneider <[EMAIL PROTECTED]> wrote: > Well, they must be doing sandboxes very differently than we're doing them. > Granted I'm not the one creating the sandboxes. But, basically, the gist > here is that I just tell the server guys where I want to upload _to_ and > they make the sandbox that lets me do it. I don't alter the temp directory > at all, and I wouldn't know how to do that > > > > > have contacted them, here is the response I got. > > > > Due to CFMX Sandbox security, your site is locked to its own folder > > structure. This means that you would not have access to the > > windows/temp folder and you should be specifying a temp folder with > > the site. I would assume this worked at one point because there may > > have been an error with the sandbox. Once the sandbox was corrected, > > you were denied to a folder outside the site's root. Let me know if > > you need any futher help. > > > > > > > ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184876 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: File Upload question
Well, they must be doing sandboxes very differently than we're doing them. Granted I'm not the one creating the sandboxes. But, basically, the gist here is that I just tell the server guys where I want to upload _to_ and they make the sandbox that lets me do it. I don't alter the temp directory at all, and I wouldn't know how to do that have contacted them, here is the response I got. > > Due to CFMX Sandbox security, your site is locked to its own folder > structure. This means that you would not have access to the > windows/temp folder and you should be specifying a temp folder with > the site. I would assume this worked at one point because there may > have been an error with the sandbox. Once the sandbox was corrected, > you were denied to a folder outside the site's root. Let me know if > you need any futher help. > > ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184872 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: File Upload question
I have contacted them, here is the response I got. Due to CFMX Sandbox security, your site is locked to its own folder structure. This means that you would not have access to the windows/temp folder and you should be specifying a temp folder with the site. I would assume this worked at one point because there may have been an error with the sandbox. Once the sandbox was corrected, you were denied to a folder outside the site's root. Let me know if you need any futher help. On Fri, 19 Nov 2004 10:02:14 -0500, Ryan Emerle <[EMAIL PROTECTED]> wrote: > contat crystaltech.. sounds like someone changes the permissions on > the windows temp directory which CF uses to temporarily store uploaded > files. > > > > > On Fri, 19 Nov 2004 08:49:02 -0600, Clint Tredway <[EMAIL PROTECTED]> wrote: > > I am working on a site that is hosted at www.crystaltech.com and all > > of a sudden my file uploads start breaking. > > > > Thier supports says I need to change the temp directory where the file > > uploads happen... how the heck do I do that? > > > > Here is the error: > > Error Occurred While Processing Request > > Security: The requested template has been denied access to > > C:\WINDOWS\TEMP\neotmp55062.tmp. > > The following is the internal exception message: access denied > > (java.io.FilePermission C:\WINDOWS\TEMP\neotmp55062.tmp read) > > > > mind you, this went from working to breaking in one day with no code > > changes. > > > > thoughts? > > > > -- > > www.fishermenstudios.com > > > > > > ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184865 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: File Upload question
/contat/contact/ /changes/changed/ Looks like i need a spell checker. On Fri, 19 Nov 2004 10:02:14 -0500, Ryan Emerle <[EMAIL PROTECTED]> wrote: > contat crystaltech.. sounds like someone changes the permissions on > the windows temp directory which CF uses to temporarily store uploaded > files. > > > > > On Fri, 19 Nov 2004 08:49:02 -0600, Clint Tredway <[EMAIL PROTECTED]> wrote: > > I am working on a site that is hosted at www.crystaltech.com and all > > of a sudden my file uploads start breaking. > > > > Thier supports says I need to change the temp directory where the file > > uploads happen... how the heck do I do that? > > > > Here is the error: > > Error Occurred While Processing Request > > Security: The requested template has been denied access to > > C:\WINDOWS\TEMP\neotmp55062.tmp. > > The following is the internal exception message: access denied > > (java.io.FilePermission C:\WINDOWS\TEMP\neotmp55062.tmp read) > > > > mind you, this went from working to breaking in one day with no code > > changes. > > > > thoughts? > > > > -- > > www.fishermenstudios.com > > > > ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184864 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: File Upload question
contat crystaltech.. sounds like someone changes the permissions on the windows temp directory which CF uses to temporarily store uploaded files. On Fri, 19 Nov 2004 08:49:02 -0600, Clint Tredway <[EMAIL PROTECTED]> wrote: > I am working on a site that is hosted at www.crystaltech.com and all > of a sudden my file uploads start breaking. > > Thier supports says I need to change the temp directory where the file > uploads happen... how the heck do I do that? > > Here is the error: > Error Occurred While Processing Request > Security: The requested template has been denied access to > C:\WINDOWS\TEMP\neotmp55062.tmp. > The following is the internal exception message: access denied > (java.io.FilePermission C:\WINDOWS\TEMP\neotmp55062.tmp read) > > mind you, this went from working to breaking in one day with no code changes. > > thoughts? > > -- > www.fishermenstudios.com > > ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184862 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
File Upload question
I am working on a site that is hosted at www.crystaltech.com and all of a sudden my file uploads start breaking. Thier supports says I need to change the temp directory where the file uploads happen... how the heck do I do that? Here is the error: Error Occurred While Processing Request Security: The requested template has been denied access to C:\WINDOWS\TEMP\neotmp55062.tmp. The following is the internal exception message: access denied (java.io.FilePermission C:\WINDOWS\TEMP\neotmp55062.tmp read) mind you, this went from working to breaking in one day with no code changes. thoughts? -- www.fishermenstudios.com ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184860 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: File upload question - SOLVE
Thanks to Pascal, problem solve... Patrick _ From: Joe Rinehart [mailto:[EMAIL PROTECTED] Sent: June 15, 2004 14:09 To: CF-Talk Subject: RE: File upload question Can you resend this with your attributes and error message? -Joe -Original Message- From: CFDEV [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 1:30 PM To: CF-Talk Subject: File upload question Hi, I have a list of form field file : It doesn't work? (I omit some of the code and attribute because i'm lazy ;)) Pat _ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: File upload question
Can you resend this with your attributes and error message? -Joe -Original Message- From: CFDEV [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 1:30 PM To: CF-Talk Subject: File upload question Hi, I have a list of form field file : It doesn't work? (I omit some of the code and attribute because i'm lazy ;)) Pat _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: File upload question
filefield="file_#pointeur#" destination="C:\uploaddir\" nameconflict="MAKEUNIQUE"> > -Original Message- > From: CFDEV [mailto:[EMAIL PROTECTED] > Sent: dinsdag 15 juni 2004 19:30 > To: CF-Talk > Subject: File upload question > > Hi, > > I have a list of form field file : > > > > > > > > It doesn't work? (I omit some of the code and attribute > because i'm lazy ;)) > > Pat > > > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: File upload question
What error are you receiving? Are you sure all 10 fields are populated with information to process the fileupload function? -Original Message- From: CFDEV [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 1:30 PM To: CF-Talk Subject: File upload question Hi, I have a list of form field file : It doesn't work? (I omit some of the code and attribute because i'm lazy ;)) Pat _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
File upload question
Hi, I have a list of form field file : It doesn't work? (I omit some of the code and attribute because i'm lazy ;)) Pat [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: File Upload Question
File uploads over http (using a form post) is limited by the amount of memory on your server. The protocol uploads the file to memory first, then your scripts transfer it from memory to disk, or whatever your scripts decide to do with it. So, if you only have 25 meg available ram, that would be the maximum file size you can upload. We ran into this a while back and have yet to find another solution (besides bumping the memory on the server). If you know of something to address this, let me know. That still doesn't explain why a 40 meg file would time out after only 30 seconds though. I'd suggest examining your CF application logs, or your server logs (application event log in NT). They might offer some insight. The problem I described above logs an NT error indicating "Out of resources". Hope that helps. Shawn Grover -Original Message- From: Jeff Stone [mailto:[EMAIL PROTECTED]] Sent: Friday, November 02, 2001 11:26 AM To: CF-Talk Subject: OT: File Upload Question Does anyone know if there is a maximum file size limit that the HTTP protocol applies or that IIS applies by default when doing a file upload? I have a site where clients upload video files. Some of these video files can be up to 100MB. The site is written in PHP and CGI (perl, yuck!). I have set IIS's CGI timeout setting to well over an hour, however, I get the good ol "The page cannot be displayed" message whenever I try to upload a file over 25MBs. The error message appears within 30 seconds of the upload. When I upload a file of 25MBs, it takes roughly 15 minutes to upload the file, but it does upload successfully. So, why will a 25MB file upload with no problem but yet a 40MB file times out after 30 seconds? The form that passes the video to the server is PHP. Also, in the PHP script, I am using the "set_time_limit(0)" command, similar to CF's "requesttimeout". The file that handles the upload itself is CGI. I couldn't find a command in cgi to set the timeout limit, so I set it in IIS. I know this is off topic, but I was hoping someone may have an idea about file uploads of this size. All of the file uploading I have done in the past have never gone over a few MBs. Thanks for any help, Jeff Stone Stone Grove Design [EMAIL PROTECTED] ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
OT: File Upload Question
Does anyone know if there is a maximum file size limit that the HTTP protocol applies or that IIS applies by default when doing a file upload? I have a site where clients upload video files. Some of these video files can be up to 100MB. The site is written in PHP and CGI (perl, yuck!). I have set IIS's CGI timeout setting to well over an hour, however, I get the good ol "The page cannot be displayed" message whenever I try to upload a file over 25MBs. The error message appears within 30 seconds of the upload. When I upload a file of 25MBs, it takes roughly 15 minutes to upload the file, but it does upload successfully. So, why will a 25MB file upload with no problem but yet a 40MB file times out after 30 seconds? The form that passes the video to the server is PHP. Also, in the PHP script, I am using the "set_time_limit(0)" command, similar to CF's "requesttimeout". The file that handles the upload itself is CGI. I couldn't find a command in cgi to set the timeout limit, so I set it in IIS. I know this is off topic, but I was hoping someone may have an idea about file uploads of this size. All of the file uploading I have done in the past have never gone over a few MBs. Thanks for any help, Jeff Stone Stone Grove Design [EMAIL PROTECTED] ~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: File upload question
Not sure I'm understanding the problem. Are you saying that when the File selector window appears, you can only select *.txt files? If that's the case, then simply change your file type box (mine defaults to HTML files). But, this sounds too obvious, so I'm guessing I'm not understanding the question. In our case, we are able to upload ANY file type with a similar form to what you have shown. Maybe look at your processing page (with the CFFile tag), and see what it is doing?? My two cents. Shawn Grover -Original Message- From: Yager, Brian T Contractor/NCCIM [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 11:47 AM To: CF-Talk Subject: RE: File upload question What are you trying to do with the file Phill? I have done this using a variety of different extension (jpg, gif, doc, html, etc..). Brian Yager President - North AL Cold Fusion Users Group Sr. Systems Analyst NCCIM/CIC [EMAIL PROTECTED] (256) 842-8342 -Original Message- From: Phill Gibson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 12:35 PM To: CF-Talk Subject: File upload question Hi everyone, I'm doing a file upload using standard HTML with the following form: but it only reads the file contents if the file has a ".txt" extension. I can rename an ASCII file from a different extension to .txt, and it works. Does anyone know how to specify a file extension other than .txt and have it work? Thanks, Phill Gibson [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: File upload question
Actually, yes, I am treating it like a variable. I'm not saving the file to the server, but instead am just grabbing the string contained in it. No need to save the file itself after I have the contents. Our clients have a lot of legacy files that have been uploaded in the client/server app in times past, so we need to also allow for file uploads, so to speak, rather than just having a form field to cut and paste strings into. Thanks, Phill Gibson [EMAIL PROTECTED] >-Original Message- >From: Dave Watts [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, August 08, 2001 1:06 PM >To: '[EMAIL PROTECTED]' >Cc: 'Phill Gibson ' >Subject: RE: File upload question > > >> I'm doing a file upload using standard HTML with the following form: >> ... >> but it only reads the file contents if the file has a ".txt" extension. >> I can rename an ASCII file from a different extension to .txt, and it >> works. >> >> Does anyone know how to specify a file extension other than .txt and >> have it work? > >What are you doing with the uploaded file? It sounds like you're simply >treating it like you would any other form variable. Typically, you use >CFFILE to save the uploaded file to the filesystem. > >Dave Watts, CTO, Fig Leaf Software >http://www.figleaf.com/ >phone: (202) 797-5496 >fax: (202) 797-5444 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: File upload question
In the ACCEPT attribute of the you can specify varoius mime types to upload for example: So if you need to upload several different mime types use: ACCEPT="gif,jpg,ppt,doc,dot,pdf,xls,htm,html" for example. HTH -- Mike Michael Goodwin Project Manager Databuilt, L.L.C. 4720 Salisbury Road, Suite 213 Jacksonville, FL 32256 (904)493-6157 tel (904)535-DATA mobile (904)493-6084 fax www.databuilt.net AN E-BUSINESS SOLUTION PROVIDER -Original Message- From: Phill Gibson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 1:35 PM To: CF-Talk Subject: File upload question Hi everyone, I'm doing a file upload using standard HTML with the following form: but it only reads the file contents if the file has a ".txt" extension. I can rename an ASCII file from a different extension to .txt, and it works. Does anyone know how to specify a file extension other than .txt and have it work? Thanks, Phill Gibson [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: File upload question
> I'm doing a file upload using standard HTML with the following form: > ... > but it only reads the file contents if the file has a ".txt" extension. > I can rename an ASCII file from a different extension to .txt, and it > works. > > Does anyone know how to specify a file extension other than .txt and > have it work? What are you doing with the uploaded file? It sounds like you're simply treating it like you would any other form variable. Typically, you use CFFILE to save the uploaded file to the filesystem. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: (202) 797-5496 fax: (202) 797-5444 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: File upload question
-paul -Original Message- From: Phill Gibson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 1:35 PM To: CF-Talk Subject: File upload question Hi everyone, I'm doing a file upload using standard HTML with the following form: but it only reads the file contents if the file has a ".txt" extension. I can rename an ASCII file from a different extension to .txt, and it works. Does anyone know how to specify a file extension other than .txt and have it work? Thanks, Phill Gibson [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: File upload question
Phill, In your action page you can specify what types of files to accept. For example: hth, A T Nelson Senior Developer MLM World News Today "Linking you to the World" (619) 584-3100 ext. 217 Original Message Follows From: "Phill Gibson" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: CF-Talk <[EMAIL PROTECTED]> Subject: File upload question Date: Wed, 08 Aug 2001 12:34:31 -0500 Received: from [207.31.122.190] by hotmail.com (3.2) with ESMTP id MHotMailBD3AC4220064400431D9CF1F7ABE04F00; Wed, 08 Aug 2001 10:38:51 -0700 Received: from hof001.cfhosting.net ([207.31.122.190]) by hof001.houseoffusion.com (Post.Office MTA v3.5.3 release 223 ID# 0-54969U100L100S0V35) with ESMTP id com for <[EMAIL PROTECTED]>; Wed, 8 Aug 2001 13:39:32 -0400 >From [EMAIL PROTECTED] Wed, 08 Aug 2001 10:38:54 -0700 message-id: <[EMAIL PROTECTED]> precedence: bulk Hi everyone, I'm doing a file upload using standard HTML with the following form: but it only reads the file contents if the file has a ".txt" extension. I can rename an ASCII file from a different extension to .txt, and it works. Does anyone know how to specify a file extension other than .txt and have it work? Thanks, Phill Gibson [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: File upload question
What are you trying to do with the file Phill? I have done this using a variety of different extension (jpg, gif, doc, html, etc..). Brian Yager President - North AL Cold Fusion Users Group Sr. Systems Analyst NCCIM/CIC [EMAIL PROTECTED] (256) 842-8342 -Original Message- From: Phill Gibson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 12:35 PM To: CF-Talk Subject: File upload question Hi everyone, I'm doing a file upload using standard HTML with the following form: but it only reads the file contents if the file has a ".txt" extension. I can rename an ASCII file from a different extension to .txt, and it works. Does anyone know how to specify a file extension other than .txt and have it work? Thanks, Phill Gibson [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
File upload question
Hi everyone, I'm doing a file upload using standard HTML with the following form: but it only reads the file contents if the file has a ".txt" extension. I can rename an ASCII file from a different extension to .txt, and it works. Does anyone know how to specify a file extension other than .txt and have it work? Thanks, Phill Gibson [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists