on +44 (0) 20 89107910. The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions.
Visit our website at http://www.reedexpo.com
-Original Message-
From: James Buckingham
To: CF-Talk
Sent: Fri May 25 21:45:17 2007
Subject: CFFILE copy to another
Hi guys,
I'm trying to find a way that I can copy a file from one server to another
(there Windows 2003 servers) using either CFFILE or a CFEXECUTE command to run
what I need through Xcopy or Robocopy.
At the moment I'm getting a error message telling me The cause of this
exception was:
James,
You have got a Windows sharing problem there with you permissions. That
is not a problem with ColdFusion. There is a setting for cffile called
mode which can be set to 777 for Linux systems but this does not apply
for you. Check your shared drive in both machines.
Ravi.
James
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:
OK, rewriting some old code here, and I have a question.
I'm seeing two different things happening here. In one instance it says
cffile action='copy' source='#thefullsourcefilepath#'
destination='#afulldestinationpathwithfilename#'
in another instance it reads like
cffile action='copy'
Yup you're right, the first one seems better. I guess whoever wrote that
code didn't know you could copy and rename in one go.
Adrian
-Original Message-
From: Cutter (CF-Talk) [mailto:[EMAIL PROTECTED]
Sent: 14 February 2006 21:50
To: CF-Talk
Subject: cffile copy
OK, rewriting some old
Cutter (CF-Talk) wrote:
I'm seeing two different things happening here. In one instance it says
cffile action='copy' source='#thefullsourcefilepath#'
destination='#afulldestinationpathwithfilename#'
copy with rename
in another instance it reads like
cffile action='copy'
Adrian Lynch wrote:
Yup you're right, the first one seems better. I guess whoever wrote that
code didn't know you could copy and rename in one go.
I believe Blueragon actually doesn't allow you to copy and rename at the
same time if the destination directory is different, which annoys me,
Use FileExists to determine if the filename already exists. If it
doesn't, keep the original name, if it does, create a new file name with
a UUID.
Pascal
-Original Message-
From: Anders Green [mailto:[EMAIL PROTECTED]
Sent: 29 October 2004 04:28
To: CF-Talk
Subject: CFFILE copy
Ok... so, I have some pictures. They are uploaded by
users. CFFILE action=upload has a very handy way
of making sure they never overwrite any other files
with the same name. The name of the file is in the
database. (Let the webserver do all the work of cacheing)
Now, I clone the database record.
CF (on Solaris, anyway) runs as userid nobody. So the permissions have to be right
for nobody for cffile to work.
Chris Norloff
-- Original Message --
from: Shawn McKee [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
date: Wed, 10 Jul 2002 19:00:20 -0500
: RE: cffile copy problem
No joy, still won't copy a file that I don't have write permissions for.
Shawn
-Original Message-
From: Chris Norloff [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 8:49 AM
To: Shawn McKee
Subject: RE: cffile copy problem
Yeah, the attributes parameter
I'm talking about possibly thousands of files and mostly binaries.
I am working on using cfexecute and the cp command to get around this.
Shawn
-Original Message-
From: Margaret Fisk [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 3:07 PM
To: CF-Talk
Subject: RE: cffile copy
No joy, still won't copy a file that I don't have write permissions for.
Shawn
-Original Message-
From: Chris Norloff [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 8:49 AM
To: Shawn McKee
Subject: RE: cffile copy problem
Yeah, the attributes parameter looks like a Windows
I am trying to copy a file on a Linux system that has read permissions at
the group level (644 specifically). I can log into the box and su to cfadm
and make the copy just fine. If I try and do it with the cffile tag I get
a permission denied. If I change the file permissions to read, write at
Hi all,
I have an interesting problem. We're developing a windows-based program that
will be creating a html file, uploading it with any images to a temp
directory on a web site, then calling a CF template with a set of url
parameters. That template will move the uploaded files to a directory
I am trying to use the CFFile Copy action to copy a file from one of our
network drives over to our Web Server every morning. I tried to do this and
got an error stating that the network file could not be found. Does anyone
know if this should be able to be done
manipulate files
on network drives. Somebody enlighten us both, if I'm wrong about this.
~Simon
-Original Message-
From: Joseph Vincent [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 17, 2000 12:19 PM
To: CF-Talk
Subject: CFFile Copy action
I am trying to use the CFFile Copy action to copy
22 matches
Mail list logo