Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

moving data from one server to the other

Status
Not open for further replies.

05082000

Technical User
Mar 28, 2002
8
US
i am moving some data file from one server to the other. The problem is how can i make so i can have link in my cold fusion to pint to that and open up odf files from the other server?

here is the code:
<cfif fileexists(&quot;c:\Inetpub\ eq &quot;yes&quot;>

<a href=&quot;\\Xanadu\xanadu\Docs\po\#cust##trim(po_no)#.PDF&quot;>View PO</a>

<cfelse>
No Match
</cfif>
 
I guess the other server isn't set up as a webserver, otherwise you'd just put the IP/domain name of the server in a link and link to the data that way.

If you can setup the machine so that it is running as a webserver but not actually serving pages up to the web then you could use CFHTTP to get the files that you want.

Either that or you setup FTP on the server and use CFFTP to get the file from the other sever and write it to the webserver and serve it up to the user.

I might be thinking to narrowly here and just using CF but thats my 2 cents as they say

Heop this helps!

Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top