Sorry that is the only other way I can think of besides
the way you are processing the request now. 

Maybe someone else has a better idea.

-----Original Message-----
From: Richard Colman [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 03, 2005 9:00 PM
To: CF-Talk
Subject: RE: Reading file contents

Unfortunately, no. The remote server is linux etc ... 

-----Original Message-----
From: CF-DEV [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 03, 2005 5:53 PM
To: CF-Talk
Subject: RE: Reading file contents

One way is if the web server has permissions on the remote server, You could
do a simple CFFILE ACTION=READ FILE="\\REMOTESERVER\FILE.TXT"

This is considering that the CF services are running under the same profile
that has access to the remote server. 



============================
Mindkeeper Solutions
website: http://www.mindkeeper.net
support: http://support.mindkeeper.net
============================
 

-----Original Message-----
From: Richard Colman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 03, 2005 8:09 PM
To: CF-Talk
Subject: Reading file contents

I wish to read the contents of a file on a remote server via ftp.

The lame approach appears to be:

<cfftp action="EXISTSFILE" ... See if file is there

<cfif CFFTP.succeeded is "yes">

<cfftp connection="coda"   action="getfile" ... Get the file from the remote
server and write it to the disk on the host server.

<cffile action = "read"  ... Read the contents of the file from the local
server and do somethig with it.

Is there a better, faster way to do this, since I have many read operations
in a single template.

TNX for any ideas on how to make this quicker and more efficient

Richard Colman
949-824-1816, 701-5330
[EMAIL PROTECTED]









~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213686
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

Reply via email to