This content has been marked as final. Show 2 replies
OFAH Webmaster wrote:
> Anyone have a workaround for the CFFile Upload tag to a destination not on the
> original server.
<cffile...> can read or write to any file visible to the domain user
that ColdFusion runs under. The default user ColdFusion runs under on a
windows server is 'localsystem' which, usually by default, has no
permissions to any server other then itself.
If you change the user ColdFusion runs under or goodness forbid - please
don't do this - change the 'localsystem' account to one that has
permissions to other servers on a network domain. Then ColdFusion would
be able to access those servers with <cffile...>.
But all of that is probably moot as I highly doubt you and your ISP
share a network domain and that you can not access your web site server
with a network UNC path!
So the question would be what protocols do you use to move files from
your systems to your internet service provider's systems? Most likely
you use either the FTP or HTTP protocol. If you where to add a 'CF' in
front of either of these protocol names you would come up with a couple
of very useful CFML tags for accessing remote servers with ColdFusion.
The documentation and the internet have the full details on these two tags.
How about using cfftp once the file is loaded into the same server.