|
ColdFusion
ColdFusion has comprehensive support for use of the HTTP protocol with its
CFHTTP tag. It has several uses. One is to retrieve pages from another
web server for local storing or rendering to the user’s browser. Another
is to allow you to upload files to a remote web server without requiring
the user interaction that is required for the usual form-based method.
Using an FTP server with ColdFusion’s CFFTP tag requires two main
operations: connection to the server, and then performance of the
file and directory manipulations once connected. ColdFusion provides
a high level of control over both operations.
ASP
Accessing remote data is an esoteric subject with ASP. An exhaustive
discussion can be found at
http://www.asp101.com/ado/1835wp07.asp.
PHP
You can use HTTP and FTP URLs with most functions that take a filename
as a parameter, for example the file() function, and also the require()
and include() statements (except that you can't use remote files in
include() and require() statements on Windows). If you are using a
remote file for logging purposes, don’t use the file() functions
because you can only write to a new file using the URL fopen() wrappers.
To do distributed logging like that use syslog().
|