houghi wrote:
Quote:
I want to save a remote file. The Remote file is created by google maps
and has the name maps.klm
What I intend to do is the following
1) Make a route, like
http://tinyurl.com/5oknap on the maps.google.com
website
2) paste that URL on my site and add "&output=kml" without the quotes to
it.
3) When calling the complete URL (like
http://tinyurl.com/5durgg) in a
browser, it will ask to save the file maps.kml
>
What I want is to have this on my server without it asking to save it
first. So just copy the URL and the have it saved all in one go.
>
Or must I first save the file maps.kml localy and then save it remotely?
>
houghi
If you're requesting it from your local machine, there's no way to
directly save it on the server because it's not on the server.
To get it at the server, you have to request it from the server. It
shouldn't be that hard to do - just enter the information you want into
a form on your server then request the page using cURL.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================