[mailto:[EMAIL PROTECTED]
Sent: Monday, December 18, 2006 9:53 AM
To: CF-Talk
Subject: Re: cffile action=read does FILE.fileSize still work?
I may be wrong, but I believe that you can only do that via
cfdirectory
The read pretty much does only that read the contents of the file.
Doug
Yeah, what he said :)
- Original Message -
From: Peterson, Chris [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, December 18, 2006 7:54 AM
Subject: RE: cffile action=read does FILE.fileSize still work?
To elaborate, you can use cfdirectory with the filter
Cffile action read wont give you anything more than the content of the file.
A len(myfile) /1024 may give you the kilobytes though :-)
cffile action=read file=d:\path\to\my\file.ext variable=myfile /
#len(myfile) / 1024# kb
Or...you can cfdirectory the parent dir of the file and use a filter
This will retrieve the size of any file:
http://www.olimpo.ch/tmt/cfc/tmt_file_io/
http://www.olimpo.ch/tmt/cfc/tmt_file_io/api.htm#method_getFileSize
Massimo Foti, web-programmer for hire
Tools for ColdFusion and Dreamweaver developers:
file. The tmp file is created, is owned by the same user as the
CF user and is readable. CFFILE says the source attribute is
invalid.
Later in the comments, he mentions that move doesn't work, but it works
fine if he uses two separate cffile operations to copy and then delete
, December 15, 2006 8:56 AM
To: CF-Talk
Subject: CFFILE issues
A user of image.cfc reported a problem with the writeImage() function
since I implemented saving the image to a temp file and then moving it.
He wrote in my blog:
* If I use the resize() method and pass in both the source
We've a problem with Java Applet calling CFFILE action=upload and Rename many
times. The applet enables the user to collect together a bunch of images and
then calls a CFM page for each. The CFM page uploads, then renames, and creates
thumbnails. This applet ran great on CF 4.5 Windows 2000
We've a problem with Java Applet calling CFFILE
action=upload and Rename many times. The applet enables the
user to collect together a bunch of images and then calls a
CFM page for each. The CFM page uploads, then renames, and
creates thumbnails. This applet ran great on CF 4.5 Windows
All,
I need to create/write an xml file using cffile and I'm getting errors due to
the xml dtd. (below)
I've never used cf's xml tage before. Any direction would be great.
What' I've got so far.
CFQUERY name=ANY_APPROVED datasource=#datasource#
select *
from dbo.tbl_babies_of_week_homepage
PROTECTED]
wrote:
All,
I need to create/write an xml file using cffile and I'm getting errors due
to the xml dtd. (below)
I've never used cf's xml tage before. Any direction would be great.
What' I've got so far.
CFQUERY name=ANY_APPROVED datasource=#datasource#
select *
from
Still get an error ...
The following information is meant for the website developer for debugging
purposes.
Error Occurred While Processing Request
Invalid token '1' found on line 52 at column 26.
The CFML compiler was processing:
a cffile tag beginning on line 49, column 2.
a cffile tag
You might be better served doing something like (this is pseudocode) -
cfxml variable=gallery
gallery
album
cfloop query
---
/cfloop
/album
/gallery
/cfxml
cffile action=write file=myxmlfile.xml output=#gallery#
Just might be easier
cffile
action = write
file = #BWK_XML_PATH#images.xml
output =
?xml version=1.0 encoding=UTF-8?
gallery
album title=Babies of the week description=Babies of the week
lgPath=/gallery/babyimages1/large/
CFOUTPUT query=ANY_APPROVED
img src=#bwk_image# /
/CFOUTPUT
/album
/gallery
Your main
is meant for the website developer for debugging
purposes.
Error Occurred While Processing Request
Invalid token '1' found on line 52 at column 26.
The CFML compiler was processing:
a cffile tag beginning on line 49, column 2.
a cffile tag beginning on line 49, column 2.
The error occurred in
D
# /
/CFLOOP
/album
/gallery
/CFXML
cffile action = write file = #BWK_XML_PATH#images.xml output = #gallery#
and the file output was ...
?xml version=1.0 encoding=UTF-8?
gallery
album description=Babies of the week
lgPath=/gallery
description=Babies of
the week lgPath=/gallery/babyimages1/large/
CFloop query=ANY_APPROVED
img src=#bwk_image# /
/CFLOOP
/album
/gallery
/CFXML
cffile action = write file = #BWK_XML_PATH
THE #bwk_image# VARIABLE ISN'T PARSING. HOW COME?
THANKS
Yeah need them cfoutput thingies...
cfoutput
CFXML variable=gallery
gallery
album title=Babies of the week description=Babies of the
week lgPath=/gallery/babyimages1/large/
CFloop
CFloop query=ANY_APPROVED
img src=#bwk_image# /
/CFLOOP
...
THE #bwk_image# VARIABLE ISN'T PARSING. HOW COME?
You don't have a CFOUTPUT tag around it. CFLOOP doesn't provide CFOUTPUT
functionality, it only, well,
: CFFILE: Create/Write dynamically xml file
Thanks guys ... almst there ...
I did ...
CFXML variable=gallery
gallery
album title=Babies of the week description=Babies of the week
lgPath=/gallery/babyimages1/large/
CFloop query=ANY_APPROVED
img src=#bwk_image# /
/CFLOOP
/album
/gallery
As long as anyone else using those files in their code uses exactly
the same name, it will work.
Thanks James.
And I suppose, when running on a shared server, it doesnt hurt to reduce
the likelyhood of a conflict by using a more unique name like
FileChange3076 instead of FileChange
An easy
Paul's hash method works well for that too (and can potentially make
the lock name a little more manageable, depending on the length of the
file path). The double lock or something similar would be necessary,
since we are dealing with two files that need to be locked (the old
name and the new).
I
I am renaming a file on a shared server and am wondering what type of
lock is best
I am currently doing the following:
cflock name=FilenameChange timeout=10
cfffile action=rename source=#oldFilename#
destination=#newFilename#
/cflock
Is that OK?
Thanks
Archie Campbell
As long as anyone else using those files in their code uses exactly
the same name, it will work.
On 12/10/06, Archie Campbell [EMAIL PROTECTED] wrote:
I am renaming a file on a shared server and am wondering what type of
lock is best
I am currently doing the following:
cflock
being cffile and
the write action and what the limitations are as to what can be put into
the output. I have a bit of code that creates a few directories and then
writes and index page with a short message and datetime stamp. Here's what
I'm using so far after my directories are created.
1
On Nov 12, 2006, at 11:57 AM, Bob Imperial wrote:
1.)In outputting my datetime here, how would I go about adding the
AM/PM
designation for output?
cfset myDate = now()
cffile action=write
file=#BaseDir#\index.cfm
output=Website directories were created successfully
cfset myDate = now()
cffile action=write
file=#BaseDir#\index.cfm
output=Website directories were created successfully on
#DateFormat(CreateODBCDate(myDate), d, )# #timeFormat(myDate,
hh:mm:ss:tt)#
Doug
- Original Message -
From: Bob Imperial [EMAIL PROTECTED
Jon Clausen wrote:
On Nov 12, 2006, at 11:57 AM, Bob Imperial wrote:
1.)In outputting my datetime here, how would I go about adding the
AM/PM
designation for output?
cfset myDate = now()
cffile action=write
file=#BaseDir#\index.cfm
output=Website directories were created
Thanks Doug! Had to be that simple eh ;-)
-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 12, 2006 12:38 PM
To: CF-Talk
Subject: Re: cffile question
cfset myDate = now()
cffile action=write
file=#BaseDir#\index.cfm
output=Website
brain can come up with
is definitely helping things to click for me.
Bob
-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 12, 2006 12:39 PM
To: CF-Talk
Subject: Re: cffile question
Jon Clausen wrote:
On Nov 12, 2006, at 11:57 AM, Bob Imperial wrote:
1
for the write to no avail. Is
what I am trying to do even possible? I am emailing a link to the index page
and I'm trying to simply center the output there.
TIA Bob
cffile action=write
file=#BaseDir#\index.cfm
output=Website directories were created successfully on
#DateFormat
I am using GetTempDirectory() CFFILE to upload files to a server into the
TempDIrectory.
My question... Is there a Cold Fusion process that automatically deletes the
temp files in the temp directory after a certain time period? I am
using CF MX 7.
OR, do you have to writing something yourself
Once a file is moved to your destination folder using CFFILE afte rthe
upload, it is deleted from the temp folder.
Russ
-Original Message-
From: Ken [mailto:[EMAIL PROTECTED]
Sent: 12 November 2006 22:42
To: CF-Talk
Subject: GetTempDirectory CFFILE
I am using GetTempDirectory
that automatically deletes the
temp files in the temp directory after a certain time period? I am using CF
MX 7. OR, do I have to writing something to clean out the temp
directory?
Thanks.
On 11/12/06, Snake [EMAIL PROTECTED] wrote:
Once a file is moved to your destination folder using CFFILE afte
There is no automatic process I am aware of, if you don't move it, it will
stay there.
Russ
-Original Message-
From: Ken [mailto:[EMAIL PROTECTED]
Sent: 12 November 2006 23:00
To: CF-Talk
Subject: Re: GetTempDirectory CFFILE
Thanks Russ,
However, my situation is a bit different. I am
All,
Does anyone know a way to check a image file's height and width before or
after an image has been uploaded? I'm restrictinig the file type for *.jpg only.
I want to take the height and width values of the image being uploaded and
see if the values fall within an acceptable height and width
[EMAIL PROTECTED] wrote:
All,
Does anyone know a way to check a image file's height and width before or
after an image has been uploaded? I'm restrictinig the file type for *.jpg
only.
I want to take the height and width values of the image being uploaded and
see if the values fall
[EMAIL PROTECTED] wrote:
Does anyone know a way to check a image file's height and width before or
after an image has been uploaded? I'm restrictinig the file type for *.jpg
only.
Search the archive, there was a discussion.. last week maybe... Massimo
has a javascript that detects image
If you are using Railo then you can use the tag CFFILE action=info
which returns the width and height of an image file if it is jpg or
gif...
Greetings / GrĂ¼sse
Gert Franz
Customer Care
Railo Technologies GmbH
[EMAIL PROTECTED]
www.railo.ch
Join our Mailing List / Treten Sie unserer
Search the archive, there was a discussion.. last week maybe... Massimo
has a javascript that detects image dimensions BEFORE uploading.
http://www.massimocorner.com/validator/samples/image_upload.htm
to check after, you can use image.cfc (www.opensourcecf.com/imagecfc) ..
probably more
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, November 10, 2006 11:38 AM
To: CF-Talk
Subject: CFFILE action=upload
All,
Does anyone know a way to check a image file's height and width before or
after an image has been uploaded? I'm restrictinig the file type for *.jpg
only.
I want
.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, November 10, 2006 11:38 AM
To: CF-Talk
Subject: CFFILE action=upload
All,
Does anyone know a way to check a image file's height and width before or
after an image has been uploaded? I'm restrictinig the file type
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
I am trying to create an application that will download log files from a server
every hour. The application works ok, but the problem is I get the following
error on occasion.
An exception occurred when performing the FTP getfile operation.
The cause of this exception was that: IOException
An exception occurred when performing the FTP getfile operation.
The cause of this exception was that: IOException caught
while copying..
Rather than cffile, do you mean cfftp?
~|
Introducing the Fusion Authority
An exception occurred when performing the FTP getfile operation.
The cause of this exception was that: IOException caught while
copying..
Rather than cffile, do you mean cfftp?
This may help
http://www.mail-archive.com/list@list.dfwcfug.org/msg00225.html
Bob Imperial wrote:
OK all you mac users out there ..
Is there a full list of allowable file types out there somewhere for cffile
and uploads?
No. The list of allowable file types depends on the purpose of the file upload
functionality. If you are creating a report upload facility (PDF
OK all you mac users out there ..
Is there a full list of allowable file types out there somewhere for cffile
and uploads? I don't necessarily want to allow ALL and I have some new
file extensions I am not familiar with such as .CR2 files.
Bob
.
~Brad
-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 27, 2006 7:07 PM
To: CF-Talk
Subject: Re: Releasing CFFile memory
This is standard for Java. Memory isn't garbage collected insantly -
if it were, your server would perform badly.
If you watch
Hello,
Reading large files into memory using
CFFile, in a loop, creates a memory leak.
As anyone else seen this?
Even if the same variable is being used
ColdFusion never releases the memory of
previous files.
It seems that at least some of that memory
sticks around even after the script ends
. Pierre [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thu Jul 27 16:59:01 2006
Subject: Releasing CFFile memory
Hello,
Reading large files into memory using
CFFile, in a loop, creates a memory leak.
As anyone else seen this?
Even if the same variable is being used
ColdFusion never
We've also seen a lot of issues using larger files with CFFile - we're
currently looking at replacing it with a Java solution, but we haven't
settled on anything yet. If someone out there's already got a good
solution, I'd like to hear about it.
Dirk
-Original Message-
From: Kervin
Wasn't there some code posted a few days/weeks ago on how to read a large
file using java?
-Original Message-
From: Dirk Sieber [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 27, 2006 12:34 PM
To: CF-Talk
Subject: RE: Releasing CFFile memory
We've also seen a lot of issues
If there was, I'd appreciate it if someone could point me in the right
direction...
-Original Message-
From: Russ [mailto:[EMAIL PROTECTED]
Sent: July 27, 2006 9:42 AM
To: CF-Talk
Subject: RE: Releasing CFFile memory
Wasn't there some code posted a few days/weeks ago on how
Does it make any difference if you use the RESULT attribute of the CFFILE
tag as opposed to just using the produced CFFILE variable?
...
Ben Nadel
www.bennadel.com
-Original Message-
From: Kervin L. Pierre [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 27, 2006 11
PROTECTED] wrote:
If there was, I'd appreciate it if someone could
point me in the right
direction...
-Original Message-
From: Russ [mailto:[EMAIL PROTECTED]
Sent: July 27, 2006 9:42 AM
To: CF-Talk
Subject: RE: Releasing CFFile memory
Wasn't there some code posted a few
Hello Ben,
We use the 'VARIABLE' tag with 'READBINARY'
type. Since we're doing binary RESULT
doesn't seem available.
Best regards,
Kervin
--- Ben Nadel [EMAIL PROTECTED] wrote:
Does it make any difference if you use the RESULT
attribute of the CFFILE
tag as opposed to just using
: Releasing CFFile memory
Hello Ben,
We use the 'VARIABLE' tag with 'READBINARY'
type. Since we're doing binary RESULT
doesn't seem available.
Best regards,
Kervin
--- Ben Nadel [EMAIL PROTECTED] wrote:
Does it make any difference if you use the RESULT attribute of the
CFFILE tag as opposed
,
Reading large files into memory using
CFFile, in a loop, creates a memory leak.
As anyone else seen this?
Even if the same variable is being used
ColdFusion never releases the memory of
previous files.
It seems that at least some of that memory
sticks around even after the script ends.
We found
Matt Robertson wrote:
Yes I know :-) I'm saying that I cannot get the conditional loop to
work, and I cannot recall ever needing an isdefined in a
non-cfscripted loop so I have nothing to fall back upon.
cfset srcFile = C:/JRun4/bin/jvm.config
cfset fr =
On 7/12/06, Jochem van Dieten [EMAIL PROTECTED] wrote:
cfloop condition='isDefined(str)'
I am such an idiot... single quotes on the OUTSIDE. The one thing I
didn't try. Thanks Jochem!
--
[EMAIL PROTECTED]
Janitor, MSB Web Systems
mysecretbase.com
Does this work for binary files? I suppose it should, but the reading
line by line bit makes me curious.
-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 12, 2006 3:07 PM
To: CF-Talk
Subject: Re: size limit for cffile?
For what it's worth, I
I have a client who has the need to read in real big text files daily.
100mb plus. Anyone know what the functional limit is on cffile, if
any? Server has 2gb of RAM and is a dual Xeon.
--
[EMAIL PROTECTED]
Janitor, MSB Web Systems
mysecretbase.com
Matt Robertson wrote:
I have a client who has the need to read in real big text files daily.
100mb plus. Anyone know what the functional limit is on cffile, if
any? Server has 2gb of RAM and is a dual Xeon.
If I were on another list, I'd just tell you to search the archives
, Rick Root [EMAIL PROTECTED] wrote:
Matt Robertson wrote:
I have a client who has the need to read in real big text files daily.
100mb plus. Anyone know what the functional limit is on cffile, if
any? Server has 2gb of RAM and is a dual Xeon.
If I were on another list, I'd just tell you
With really big files you may not want to read the entire file into memory
the way cffile does. I've seen some folks user Java file i/o calls to get
around this, essentially inline Java calls to read the file line by line.
This will be slower, but, it'll work.
--- Ben
-Original Message
Sorry, Matt, I didn't read close enough either! There are threads out
there also relating to READING large files.
However, I'd probably also suggest looking into using the java file I/O
stuff to avoid the issues relating to load a 100MB file into memory and
dealing with it.
Because I love
oooh. Thanks Rick! One of these days I need to learn that stuff.
Reminds me of something else too. Geez what a bum I am. Check your
paypal box in a bit.
--
[EMAIL PROTECTED]
Janitor, MSB Web Systems
mysecretbase.com
~|
always below 400ms.
Using CFFILE, it was much more erratic... coming in as low as 450ms but
often coming in at 2000ms and higher.
Rick
Rick Root wrote:
Sorry, Matt, I didn't read close enough either! There are threads out
there also relating to READING large files.
However, I'd probably
Hmm. Interesting idea Calling JAVA objects. I should really get
into that. Power fo Java with Coldfusion ease
On 7/12/06, Matt Robertson [EMAIL PROTECTED] wrote:
oooh. Thanks Rick! One of these days I need to learn that stuff.
Reminds me of something else too. Geez what
B V wrote:
Hmm. Interesting idea Calling JAVA objects. I should really get
into that. Power fo Java with Coldfusion ease
I always find it fun to do java integration like this =)
I just blogged this whole thing too
by line and performing some simple math (cnt = cnt + 1)
The java method was CONSISTENTLY around 375ms on my server. I hit
reload like 30 times and it was never below 350ms and never above 500ms,
and almost always below 400ms.
Using CFFILE, it was much more erratic... coming in as low
Rick what do you do if you can't run the whole operation from within a
cfscript block? I need to do a *whole* bunch of stuff (like cfqueries
that select, insert and update) inside of that while loop and I can't
seem to get a non-cfscript analog of that loop working. I have to be
missing
All the statements in that example have CF tag equivalents (CFScript syntax
is much more similar to Java syntax, making it easier and clearer to port
Java code examples).
Assignment and method calls can be made into CFSet statements, and turn the
while into cfloop, etc.
- David
On 7/12/06, Matt
On 7/12/06, David [EMAIL PROTECTED] wrote:
All the statements in that example have CF tag equivalents (CFScript syntax
Yes I know :-) I'm saying that I cannot get the conditional loop to
work, and I cannot recall ever needing an isdefined in a
non-cfscripted loop so I have nothing to fall back
I know I can get all kinds of information about a file being uploaded after
its run through CFFILE action=upload, but I'm trying to figure out how to
identify the file type BEFORE CFFILE has run.
Hi Howard. I recently created a simple document management system in which I
needed to know
I know I can get all kinds of information about a file being uploaded after
its run through CFFILE action=upload, but I'm trying to figure out how to
identify the file type BEFORE CFFILE has run.
I want to CFSWITCH on the mime type.
Any one know how to determine the mime type?
I tried
Howard Owens wrote:
I know I can get all kinds of information about a file being uploaded after
its run through CFFILE action=upload, but I'm trying to figure out how to
identify the file type BEFORE CFFILE has run.
Technically speaking, the file has already been uploaded. Perhaps you
could
Hi,
I'm looking into creating a cfc for uploading files.
I think this but should be fine, but I'd like to know is what people think
would be the best method for adding/editing this info to dynamic table.
i.e. is it OK to use:
cfquery
UPDATE #ARGUMENTS.tablename#
and are there any extra
On Friday 07 July 2006 11:55, Richard Cooper wrote:
I'm looking into creating a cfc for uploading files.
Generic answers to generic questions:
cfqueryparam / Reactor
don't refer to shared scopes (url/form) inside CFC
--
Tom Chiverton
This
I'm guessing either something like:
cfquery
UPDATE cfqueryparam value=#ARGUMENTS.tablename# cfsqltype=cf_sql_varchar /
OR
cfparam name=#ARGUMENTS.tablename# type=string
cfquery
UPDATE #ARGUMENTS.tablename
Would these work and be safe?
On Friday 07 July 2006 13:30, Richard Cooper wrote:
cfquery
UPDATE cfqueryparam value=#ARGUMENTS.tablename#
cfsqltype=cf_sql_varchar /
Normally you have one CFC for each table, and you can't use place holders for
things like tablenames anyway.
--
Tom Chiverton
Hi Tom,
Do you think something like this would make it safe from SQL attack:
cfset tableOK = REFindNoCase([^A-Za-z-_]+, ARGUMENT.tablename, 1,TRUE)
cfif (tableOK.pos[1] NEQ 1) OR (tableOK.len[1] and len(ARGUMENT.tablename))
cfabort
cfelse
cfquery
UPDATE #ARGUMENTS.tablename#
.
/cfif
You've still got issues e.g. arguments.tablename = sysobjects.
Essentially, you're still hoping you've thought of everything that can
be done.
An idea might be:
cfset allowedtables = file,image
cffif not listfindnocase(allowedtables,arguments.table)
cfabort
/cfif
This way, you are
Correction:
cfif (tableOK.pos[1] NEQ 1) OR (tableOK.len[1] NEQ len(ARGUMENT.tablename))
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered
Hi Jim,
Thanks, I think that will work. I'll make an adjustment to get all tables
dynamically which I'd guess would be OK
cfquery name=GetTableNames datasource=#theDatabase#
SELECT TABLE_NAME
FROMInformation_Schema.Tables
WHERE TABLE_TYPE = 'dbo'
ORDER BY Table_Name
/cfquery
cfset
I know in uploading a file with CFFILe you specify the file field of the
file to upload. Dows this mean that you can use file uploads with AJAX?
Thanks, I'm hoping someone knows a way around this so I can do file uploads
in AJAX . Thanks for your help and time
B V wrote:
I know in uploading a file with CFFILe you specify the file field of the
file to upload. Dows this mean that you can use file uploads with AJAX?
Yes. Just tie an onblur to the control that submits the form to a page that
returns a HTTP 204.
Jochem
a file with CFFILe you specify the file field of the
file to upload. Dows this mean that you can use file uploads with AJAX?
Thanks, I'm hoping someone knows a way around this so I can do file uploads
in AJAX . Thanks for your help and time
a file with CFFILe you specify the file field of the
file to upload. Dows this mean that you can use file uploads with AJAX?
Thanks, I'm hoping someone knows a way around this so I can do file
uploads
in AJAX . Thanks for your help and time
.
On 7/3/06, B V [EMAIL PROTECTED] wrote:
I know in uploading a file with CFFILe you specify the file field of
the
file to upload. Dows this mean that you can use file uploads with
AJAX?
Thanks, I'm hoping someone knows a way around this so I can do file
uploads
in AJAX . Thanks
Well, I guess you could do it the traditional way (e.g iframes) and set the
Target to _top That's what they USED to do, but the main reason that I
want this is so I can show a spinner thingy that says loading... please be
patient
You wouldn't even have to post the file to an IFRAME to do
Man has this been driving me up a wall today
Here is how it worked.
CFFILE copy a file from webserver1 to webserver2 from webserver2. Just a
plain windows workgroup, both running windows 2000 server, and mx6.1.
Coldfusion running from the local account.
\\srv-webserver1\whateverdirectory
I am guessing permissions. Here is the kicker. Can browse to that file and have
it come up in a text editor no problem, but I get this permissions error with
cold fusion. I have tried every which way but sunday to try to get this right
and still it gives me this error. I am about to rip my hair
Change the user contest that CF starts up with so that it has permission to
access the relevant systems.
Paul
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243254
Archives:
respond to
cf-talk@houseoffusion.com
To
CF-Talk cf-talk@houseoffusion.com
cc
Subject
CFFile copy, bigtime permissions issue..
Man has this been driving me up a wall today
Here is how it worked.
CFFILE copy a file from webserver1 to webserver2 from webserver2. Just a
plain windows
Paul,
Worked lilke a charm.. THanks...
Jeff
On 6/12/06, Paul Vernon [EMAIL PROTECTED] wrote:
Change the user contest that CF starts up with so that it has permission
to
access the relevant systems.
Paul
~|
Message:
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.
Hmmm
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
501 - 600 of 2417 matches
Mail list logo