the file is written as a 103kb file both ways, its ftp'd up, as the same size.
cffile through chrome (beta) = no dice
cffile through safari = workie workie
as i said, gonna test more this am.
On Mon, May 7, 2012 at 11:57 PM, Dave Watts dwa...@figleaf.com wrote:
I must assume that the beta
:) dude. seriously.
the controller has no play in this, the controller merely
does the sql insertion of the record that yes a file has been uploaded,
here is its name, publish date, etc.
this piece is behind the site, in the /admin area. there's no VIEWING of the
pdf back there just uploading
so, I made a simple test case :) and it worked in chrome.
so, maybe the cflocation (back to the you've succeeded page) that is
after the cffile tag would make the file not correct, and corrupt??
weird.
weird.
tw
On Tue, May 8, 2012 at 8:31 AM, Ras Tafari rastaf...@gmail.com wrote:
:) dude.
so, I made a simple test case :) and it worked in chrome.
http://www.youtube.com/watch?feature=player_detailpagev=cCI18qAoKq4#t=59s
so, maybe the cflocation (back to the you've succeeded page) that is
after the cffile tag would make the file not correct, and corrupt??
weird.
weird.
How
well, my dear watt's-son :)
im perplexed, but ill tinker with it later.
take'er easy!
On Tue, May 8, 2012 at 10:15 AM, Dave Watts dwa...@figleaf.com wrote:
so, I made a simple test case :) and it worked in chrome.
http://www.youtube.com/watch?feature=player_detailpagev=cCI18qAoKq4#t=59s
hi there.
im sending a file to my server with the following code:
cffile action=upload destination=d:\webserver\doman.com\www\docs
nameconflict=overwrite filefield=pdf_file attributes=readonly /
the result of this when I browse the file in chrome and safari (on my
mac) both result in a Failed
Do you have the form attributes right, umm type and method?
On Mon, May 7, 2012 at 9:32 PM, Tony tonyw...@gmail.com wrote:
hi there.
im sending a file to my server with the following code:
cffile action=upload destination=d:\webserver\doman.com\www\docs
nameconflict=overwrite
Tony Weeg
Sr. Web Applications Architect Developer
Navtrak, Inc.
Smart Companies Drive Navtrak
www.navtrakgps.com
800.787.2337
t'is correct...
form method=post action=#cgi.script_name# enctype=multipart/form-data
i believe?!
tw
On Mon, May 7, 2012 at 9:38 PM, LRS Scout lrssc...@gmail.com
Yeah those are right.
On Mon, May 7, 2012 at 9:57 PM, Tony tonyw...@gmail.com wrote:
Tony Weeg
Sr. Web Applications Architect Developer
Navtrak, Inc.
Smart Companies Drive Navtrak
www.navtrakgps.com
800.787.2337
t'is correct...
form method=post action=#cgi.script_name#
Is that location inside of the web root? You say the file exists but isn't
openable, right? If it is outside of the web root, you may need to add a
mapping to the server.
--
William Seiter
On May 7, 2012, at 6:32 PM, Tony tonyw...@gmail.com wrote:
hi there.
im
it's chrome.
wow.
works just fine in safari.
ok, thanks anyway guys!
tony
On Mon, May 7, 2012 at 10:07 PM, William Seiter will...@seiter.com wrote:
Is that location inside of the web root? You say the file exists but isn't
openable, right? If it is outside of the web root, you may need
here's my chrome info:
Version 19.0.1084.41 beta
tw
On Mon, May 7, 2012 at 10:10 PM, Tony Weeg t...@navtrak.net wrote:
it's chrome.
wow.
works just fine in safari.
ok, thanks anyway guys!
tony
On Mon, May 7, 2012 at 10:07 PM, William Seiter will...@seiter.com wrote:
Is that
im sending a file to my server with the following code:
cffile action=upload destination=d:\webserver\doman.com\www\docs
nameconflict=overwrite filefield=pdf_file attributes=readonly /
the result of this when I browse the file in chrome and safari (on my
mac) both result in a Failed to
bad guess amigo :)
but seriously, I'm merely hitting a method in my main controller that
does stuff for this site.
works in safari 100% of the time!!! just not chrome.
weird.
cftry
I must assume that the beta tag is maybe what is happening here.
something about the filestream is getting corrupt when sending a file up.
wird.
Tony Weeg
Sr. Web Applications Architect Developer
Navtrak, Inc.
Smart Companies Drive Navtrak
www.navtrakgps.com
800.787.2337
On Mon, May
but seriously, I'm merely hitting a method in my main controller that
does stuff for this site.
works in safari 100% of the time!!! just not chrome.
I'm still going with something happening after the file upload for
$100, Alex. But to see what exactly this might be, here's what I'd do:
1.
I must assume that the beta tag is maybe what is happening here.
something about the filestream is getting corrupt when sending a file up.
wird.
Is the file itself written properly to the server in both cases?
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Can you download the uploaded file via FTP and open it in Chrome?
Also is it byte-for-byte the same as the original you uploaded?
On 5/7/12 8:57 PM, Dave Watts wrote:
I must assume that the beta tag is maybe what is happening here.
something about the filestream is getting corrupt when
in advance,
Jenny
-Original Message-
From: Will Swain [mailto:w...@hothorse.com]
Sent: 11 September 2009 08:08
To: cf-talk
Subject: RE: CFFILE UPLOAD
Sorry - coming to this late. Have you tried with a different mp3 file? Is it
all mp3 files that don't work, or just this one
Sorry - coming to this late. Have you tried with a different mp3 file? Is it
all mp3 files that don't work, or just this one?
w
-Original Message-
From: Jenny Gavin-Wear [mailto:jenn...@fasttrackonline.co.uk]
Sent: 11 September 2009 04:49
To: cf-talk
Subject: RE: CFFILE UPLOAD
The MP3 I am uploading is smaller than the WMVs that upload fine ..
-Original Message-
From: Maureen [mailto:mamamaur...@gmail.com]
Sent: 06 September 2009 07:37
To: cf-talk
Subject: Re: CFFILE UPLOAD
Does it exceed max file size for uploads on the server?
On Sat, Sep 5, 2009 at 9:50
Does it exceed max file size for uploads on the server?
On Sat, Sep 5, 2009 at 9:50 PM, Andrew Grosset rushg...@yahoo.com wrote:
according to this list there are 4 possible mime types for mp3
http://www.webmaster-toolkit.com/mime-types.shtml
2boogie.mp3
Most file formats work fine (doc,
To: cf-talk
Subject: Re: CFFILE UPLOAD
what's the file name?
Seems like I had this one time and the issue was the user was uploading
images named like: bill's big day.jpg
And the ' was terminated it and giving that error.
I'm using cffile to upload .mp3 files (among others).
An error is thrown
according to this list there are 4 possible mime types for mp3
http://www.webmaster-toolkit.com/mime-types.shtml
2boogie.mp3
Most file formats work fine (doc, pfd, wmv, for example) and it seems it's
just music files like mp3 and wma that have a problem.
Could it be something to do with the
what's the file name?
Seems like I had this one time and the issue was the user was uploading images
named like: bill's big day.jpg
And the ' was terminated it and giving that error.
I'm using cffile to upload .mp3 files (among others).
An error is thrown:
String index out of range: -1
I'm using cffile to upload .mp3 files (among others).
An error is thrown:
String index out of range: -1
All other file formats I have tried work fine, does anyone know why mp3
would fail?
Thanks,
Jenny
~|
Want to reach the
the weird thing is, the file actually uploads, but still the error ...
-Original Message-
From: Jenny Gavin-Wear [mailto:jenn...@fasttrackonline.co.uk]
Sent: 03 September 2009 14:58
To: cf-talk
Subject: CFFILE UPLOAD
I'm using cffile to upload .mp3 files (among others).
An error
Hi there -
I've a problem with file uploads:
- Users are uploading a lot of files using uploading files
- Some users have a quite slow internet connection so uploading takes quite a
white
- I can see in FusionReactor that every upload eats one ColdFusion process
waiting for the upload to be
Not an answer to your question, but we're expecting large file uploads from
many users and we've made the upload page like this:
1. Call to CF web service to check credentials.
2. In page CF to check the result of the webservice call
3. Process upload with cffile
4. Pass file data to CF web
On Tue, Jun 24, 2008 at 11:42 PM, James Holmes wrote:
As we're lucky enough that it's only happened in dev and test and not
prod (yet) I'm waiting until we change to our new CF8 architecture
before expending any effort. If it happens in prod I'll just make
/var/tmp writeable for the CF user.
On Sun, Jun 22, 2008 at 9:39 PM, James Holmes wrote:
I knew this would be a stumper. I win the list!
Patience, grasshopper, the list is not always fast like the rabbit. :-)
You tried setting environment variables and whatnot? Passing JVM
arguments in there?
Cover all the bases, and I bet it
As we're lucky enough that it's only happened in dev and test and not
prod (yet) I'm waiting until we change to our new CF8 architecture
before expending any effort. If it happens in prod I'll just make
/var/tmp writeable for the CF user.
I still win the list :P
On Wed, Jun 25, 2008 at 12:59 PM,
I knew this would be a stumper. I win the list!
On Wed, Jun 11, 2008 at 12:34 PM, James Holmes [EMAIL PROTECTED] wrote:
I predict this is another stumper.
Occasionally, on one of our servers, the temporary folder into which
cffile uploads go before they are moved to the final location changes
Chad,
As an aside, we went down many routes for large file uploads. HTTP is simply
not built for that. We finally went with an embedded FTP Java client that
simplified our lives a great deal. For reference, we went with this one:
http://www.utechsoft.com/products/uupload/webdemo/cart/
HTH,
George
I predict this is another stumper.
Occasionally, on one of our servers, the temporary folder into which
cffile uploads go before they are moved to the final location changes
from the correct
cf_root/runtime/servers/coldfusion/SERVER-INF/temp/wwwroot-tmp/ to
/var/tmp.
Has anyone else experienced
You can't do it with coldfusion or any other method using an HTTP call.
File Uploads are handled by the web server as HTTP POST arguments. So
pretty much all languages, asp, php, cf, jsp, servlets, etc.. none of them
start doing anything with the file until it has been completely received.
Now,
Any way to upload it without loading it
into memory? I know the flash form file
upload will do it, but I'm working with
some code that is unable to do that.
Trying to find a way to upload big files
faster.
No, not if you process it with CFFILE. And in any case, it won't upload any
You can't do it with coldfusion or any other method using an HTTP
call. File Uploads are handled by the web server as HTTP POST
arguments. So pretty much all languages, asp, php, cf, jsp, servlets,
etc.. none of them start doing anything with the file until it has
been completely received.
Oh nevermind me... I just read the original post. :)
--
s. isaac dealey ^ new epoch
isn't it time for a change?
ph: 617.365.5732
http://onTap.riaforge.org/blog
~|
Adobe® ColdFusion® 8 software 8 is the most
Does anyone know how to do a cffile upload using cfthread? It doesn't seem to
be working for me. Thanks
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http
Does anyone know how to do a cffile
upload using cfthread? It doesn't seem
to be working for me.
I don't think you can. The uploaded file has already been received by your
program before it starts.
Dave Watts, CTO, Fig Leaf Software
Any way to upload it without loading it into memory? I know the flash form
file upload will do it, but I'm working with some code that is unable to do
that. Trying to find a way to upload big files faster.
~|
Adobe®
Or CFIF IsDefined(form.update.x) if you are trying to check that
the submit image was clicked.
On Nov 15, 2007 10:53 AM, Brian McCairn [EMAIL PROTECTED] wrote:
Where you say
CFIF IsDefined(form.upload.x)
I think should just be
CFIF IsDefined(form.upload)
Where you say
CFIF IsDefined(form.upload.x)
I think should just be
CFIF IsDefined(form.upload)
~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
I'm trying to upload a file to a server but letting the user checoff which
server directory to uopload to. I have a form with checkoff boxes, but when I
checkoff the box along with the file to upload it does not send it to the
directory. No error appears but it sends it to a temp directory even
Seems to work...
Thanks Brian.
-Original Message-
From: Brian McCairn [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 15, 2007 11:53 AM
To: CF-Talk
Subject: Re: cffile upload issue
Where you say
CFIF IsDefined(form.upload.x)
I think should just be
CFIF IsDefined(form.upload
that should be after days
On 4/9/07, Zaphod Beeblebrox [EMAIL PROTECTED] wrote:
~|
ColdFusion MX7 and Flex 2
Build sales marketing dashboard RIAâs for your business. Upgrade now
We are using SSL and Client Certificates on an IIS6 box and having trouble with
CFFILE upload. For some reason cffile upload no longer will work for a file
over 50k in size. We can turn off require client certificates in IIS and the
upload form works nicely. I even uploaded a 102mb avi file
through a secondary site.
On 4/9/07, Bobby Schuchert [EMAIL PROTECTED] wrote:
We are using SSL and Client Certificates on an IIS6 box and having trouble
with CFFILE upload. For some reason cffile upload no longer will work for a
file over 50k in size. We can turn off require client certificates
.
In the end, after day of trying to get it to work correctly, I
rerouted the uploads through a secondary site.
On 4/9/07, Bobby Schuchert [EMAIL PROTECTED] wrote:
We are using SSL and Client Certificates on an IIS6 box and having trouble
with CFFILE upload. For some reason cffile upload
Is there a way to upload and rename a file at the same time using
CFFILE, or does that need to be two separate operations?
I'm using a function to filter out spaces and unwanted characters in the
file names
like:
#filterFilename(cffile.serverfile)#
- and this works after the fact in a
Would need to be two seperate actions.
IE:
CFFILE action=upload filefield=yourFileField accept=type
destination=C:\myFolder\ nameconflict=makeunique
CFSET RenameFile = Whatever
CFFILE action=rename source=C:\myFolder\#File.ServerFile#
destination=C:\myFolder\#Trim(RenamePhoto)#
Doug B.
-
From: Les Mizzell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 03, 2007 6:55 PM
To: CF-Talk
Subject: CFFILE - Upload and rename at the same time?
Is there a way to upload and rename a file at the same time using
CFFILE, or does that need to be two separate operations?
I'm using a function
PROTECTED]
Sent: October 3, 2006 1:14 PM
To: CF-Talk
Subject: Re: CFFILE Upload problems
I saw this once but the server was out of Hard Drive space.
Dirk Sieber wrote:
Hi everyone,
We're still having continuing problems with uploading files
to one of our servers using:
CFFILE
Hi everyone,
We're still having continuing problems with uploading files to one of our
servers using:
CFFILE ACTION= UPLOAD
and I'm wondering if anyone else has seen this. Files under about 100k or so
are fine - above that, things get erratic, with larger (ie 1MB+) files failing
pretty
I saw this once but the server was out of Hard Drive space.
Dirk Sieber wrote:
Hi everyone,
We're still having continuing problems with uploading files to one of our
servers using:
CFFILE ACTION = UPLOAD
and I'm wondering if anyone else has seen this. Files under about 100k or so
are
Something is wrong. I'd look at the network. Maybe setting
the latency
a little lower or higher or whatever that is could fix something.
Really, you shouldn't have a problem, I've used cffile over a
14.4 with
MB files with no problems, other than slowness, as would be expected.
See above. :) I've just done some testing of my own - FTP transfers are
fine - approx 100 KB/sec sustained transfer rates to the server.
However, document uploads still time out.
Hrm. Well, you could try doing some cfhttp gets of some MB+ files and
see if it's just the http protocol. Maybe
Hi all,
We're running into multiple problems with using CFFILE to upload
documents to one of our servers - it's located over a slowish link, and
anything over a couple of hundred k is causing the browser to time out
before the process completes. From what I've been reading, the whole
HTML file
How about uploading them to a local directory (on the web server), and
then build a batch script that checks that directory periodically and
moves any files to the correct location? Also, you could set the
timeout for your upload page to a higher amount, using cfsetting.
-Original
Dirk Sieber wrote:
Can anyone out there recommend a good alternative?
FTP? =)
I've never had problems with cffile. And since CFFILE *IS* java (as all
coldfusion is), using java calls to handle file uploads probably
wouldn't make a difference.
An alternative would be to develop some kind
PROTECTED]
Sent: Wednesday, May 17, 2006 2:36 PM
To: CF-Talk
Subject: Re: Replacements/alternatives for CFFILE upload?
Dirk Sieber wrote:
Can anyone out there recommend a good alternative?
~|
Message: http
Brad Wood wrote:
Asfusion.com had a sweet flash file upload to use in flash forms with a
progress bar and everything.
Don't know if it satisfies your need or not though...
That looks pretty sweet but probably doesn't satisfy his needs cuz it
still uses cffile on the backend. It's still
:[EMAIL PROTECTED]
Sent: Wednesday, May 17, 2006 2:58 PM
To: CF-Talk
Subject: Re: Replacements/alternatives for CFFILE upload?
Brad Wood wrote:
Asfusion.com had a sweet flash file upload to use in flash forms with a
progress bar and everything.
Don't know if it satisfies your need or not though
Brad Wood wrote:
Asfusion.com had a sweet flash file upload to use in flash forms with a
progress bar and everything.
Don't know if it satisfies your need or not though...
That looks pretty sweet but probably doesn't satisfy his needs cuz it
still uses cffile on the backend. It's still
-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED]
Sent: May 17, 2006 12:36 PM
To: CF-Talk
Subject: Re: Replacements/alternatives for CFFILE upload?
Dirk Sieber wrote:
Can anyone out there recommend a good alternative?
FTP? =)
It might come to that. ;-)
I've
On 5/17/06, Dirk Sieber [EMAIL PROTECTED] wrote:
The issues that we're having is with transfers either taking an insanely
long time, or just timing out, and never completing. It seems to just
be a size issue - as soon as we're talking about a MB or 2, odds of
completion go *way* down. I'm
Hi. One of the strangest things I've seen yet. This happens on one CF
server running 7,0,1,116466 (a client's) but not mine, running the
same code and the same version.
Simple custom tag. Here is the cffile.
cffile action=upload
filefield=#filefield#
On 1/10/06, Bud [EMAIL PROTECTED] wrote:
Hi. One of the strangest things I've seen yet. This happens on one CF
server running 7,0,1,116466 (a client's) but not mine, running the
same code and the same version.
Simple custom tag. Here is the cffile.
cffile action=upload
dave wrote:
While it looks like you're experiencing the issue in this TechNote,
http://www.macromedia.com/go/f97044e, you should make sure that you
have the cumulative updater to Merrimack installed, found here:
http://www.macromedia.com/go/aae43964.
I think that should resolve things. One thing
All,
For uploading multiple files to the server, we use a Java applet which works
quite well. Now, the sizes of the files could vary. People might upload 10
files that are 2MB each or 100 files that total about 200MB together.
Sometime people could even upload about a gig of files if they so liked
On 12/7/05, George Abraham [EMAIL PROTECTED] wrote:
All,
For uploading multiple files to the server, we use a Java applet which works
quite well. Now, the sizes of the files could vary. People might upload 10
files that are 2MB each or 100 files that total about 200MB together.
Sometime
Thanks Dave, I don't see any UDFs on cflib that deal with what you talk
about, though? I searched using various terms, but nothing turned up.
I do understand what you say about streaming the file while uploading. Can
this be done using the java.io.InputStream class?
George
On 12/7/05, Dave
On 12/7/05, George Abraham [EMAIL PROTECTED] wrote:
Thanks Dave, I don't see any UDFs on cflib that deal with what you talk
about, though? I searched using various terms, but nothing turned up.
I do understand what you say about streaming the file while uploading. Can
this be done using the
George,
Take a look at this technique by John Bartlett.
http://johnwbartlett.com/cf_tipsntricks/index.cfm?TopicID=96
Robert
-Original Message-
From: George Abraham [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 07, 2005 1:32 PM
To: CF-Talk
Subject: Re: cffile upload large files
Robert,
That one specifically talks about reading in text files already residing on
the server. I bet that could easily be modified for reading in uploaded
files. Thanks for the link.
George
On 12/7/05, FROEHLING, ROBERT (AIT) [EMAIL PROTECTED] wrote:
George,
Take a look at this technique by
Sorry about that. I guess I should have paid more attention to your
original post. :)
-Original Message-
From: George Abraham [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 07, 2005 3:27 PM
To: CF-Talk
Subject: Re: cffile upload large files again!
Robert,
That one specifically
It seems that there is a bug with cffile upload on cf 7.0.1. Let me explain
what I meen. Today I've created a simple file upload. It was still possible
that you can add a different file name on the destination argument:
cffile action=upload filefiled=FILEDATA
destination=c:\upload
It seems that there is a bug with cffile upload on cf 7.0.1.
There's an available hot fix for this on the MM site:
http://www.macromedia.com/go/f97044e
I'd recommend that you just install the cumulative hotfix for 7.0.1:
http://www.macromedia.com/go/aae43964
Dave Watts, CTO, Fig Leaf Software
We have installed CF5.0 on a windows 2003 web edition server and found that
a tried and true custom File upload tag is no longer working. The tag will
upload a unique file name just fine but if a duplicate file is uploaded with
the makeunique qualifier we get an error. After a little debugging
We have installed CF5.0 on a windows 2003 web edition server and found that
a tried and true custom File upload tag is no longer working. The tag will
upload a unique file name just fine but if a duplicate file is uploaded with
the makeunique qualifier we get an error. After a little debugging
Are there any alternatives to CFFile which don't buffer the incoming file bytes
to memory, and don't run within one of your available CF threads?
I'm basically looking to upload 30-40 megs worth of, say 20 files at 1 time,
and have them being written to disk incrementally as they arrive on the
can someone tell me why I would get this error while trying to upload a file?
String index out of range: -4
The error occurred in C:\CFusionMX\wwwroot\portplus\x_admin_edit2.cfm: line 50
48 :cffile action=upload
49 : destination=#updir#
50 : filefield=himage
51 :
Aieee. So it does. I thought there was something more to CFFILE
ACCEPT than that but a quick RTFM plainly says otherwise.
So much for that. Never mind. :-)
--
--Matt Robertson--
President, Janitor
MSB Designs, Inc.
mysecretbase.com
Matt Robertson wrote:
If I'm understanding you right and you're only doing extension checks
it just seems that you're not using an important feature of cffile.
Using both features would be ideal but on a given day with a typical
user I'd say cffile accept= was a lot more powerful piece of
what do you mean it needs to be capped?
-Original Message-
From: dave [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 11, 2004 5:06 PM
To: CF-Talk
Subject: RE: CFFILE upload to Linux server issues
eric
sorry this maybe a dumb ? but i saw u wrote that u had set the variables
He means capitalized : as in Application.cfm and not application.cfm
-Original Message-
From: Eric Creese [mailto:[EMAIL PROTECTED]
Sent: 12 November 2004 14:23
To: CF-Talk
Subject: RE: CFFILE upload to Linux server issues
what do you mean it needs to be capped?
-Original
Application.cfm is case sensitive on *nix flavours of Unix
If it is not named Application.cfm (and OnRequestEnd.cfm) it will not
run automatically on every request.
--
dc
~|
Special thanks to the CF Community Suite Gold
ah, thank you I did not know that.
Why is that necessary?
-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED]
Sent: Friday, November 12, 2004 8:26 AM
To: CF-Talk
Subject: RE: CFFILE upload to Linux server issues
He means capitalized : as in Application.cfm
Good catch Dave. I totally forgot about mentioning that but I had a
HUGE problem with that when I was hosting on a shared linux box.
John
-Original Message-
From: dave [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 11, 2004 6:06 PM
To: CF-Talk
Subject: RE: CFFILE upload to Linux
Because *nix is case sensitive in file names and CF will only handle
them as expected if you capitalize them the way CF expects.
John
-Original Message-
From: Eric Creese [mailto:[EMAIL PROTECTED]
Sent: Friday, November 12, 2004 9:41 AM
To: CF-Talk
Subject: RE: CFFILE upload to Linux
Ok I have a site on linux where I set a directory path so in the
application.cfm so i can use it it during my file uploads like the following
CFSET directorypath =/root/a/mysite.com/html/dev/
Now when I try to excute the page to upload the file using CFFILE I get an
error message telling me
Ok I took the var out of the application page an put it right on the processing
page. Now the var is set correctly however it is failing with a new message.
Does anyone think this is a permissions issue since this is running on Linux.
No problems with this on Windows where the site was created.
I'm pretty sure ColdFusion is unable to write the file because it
doesn't have permission to access root's directory. I can't give you
any specific advice on how to fix it as I've only worked with a
vanilla CF/Linux/Apache install, which doesn't put web files into
/root/ ...
HTH a little
On Thu,
directory path is incorrect.
should be \ not / and check your file permissions.
u should implement a try catch framework as well
[EMAIL PROTECTED] 11/11/04 9:54 AM
Ok I took the var out of the application page an put it right on the
processing page. Now the var is set correctly however it is
: CFFILE upload to Linux server issues
Ok I have a site on linux where I set a directory path so in the
application.cfm so i can use it it during my file uploads like the
following
CFSET directorypath =/root/a/mysite.com/html/dev/
Now when I try to excute the page to upload the file using CFFILE I
-Original Message-
From: Eric Creese [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 11, 2004 12:55 PM
To: CF-Talk
Subject: Re: CFFILE upload to Linux server issues
Ok I took the var out of the application page an put it right on the
processing page. Now the var is set correctly however
sorry I just root as an example so please think of root as the same as home
-Original Message-
From: Ubqtous [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 11, 2004 1:27 PM
To: CF-Talk
Subject: Re: CFFILE upload to Linux server issues
I'm pretty sure ColdFusion is unable to write
On Thu, 11 Nov 2004 11:30:40 -0800, Lawrence Ng [EMAIL PROTECTED] wrote:
directory path is incorrect.
should be \ not / and check your file permissions.
u should implement a try catch framework as well
Eh? That's not true at all. The path separator on a *nix system is the
forward slash,
now I get the following after I added the mode option.
String index out of range: -1
The error occurred in
/home/auto1/autocomm-inc.com/html/dev/Admin/x_addtest.cfm: line 24
22 : filefield=timage1
23 : mode = 777
24 :
1 - 100 of 188 matches
Mail list logo