Date:  07/31/2002 01:58:31 PM Msg ID:  000789
From:  D.B. Stepp Thread:  000782
Subject:  Re: A file upload of sorts.
Thanks, that was what I needed.  I also found ASPTear which has both a freeware and a shareware version, so I'm looking into both products.

-DB
Sent by FoxWeb Support on 07/30/2002 08:56:28 PM:
Actually it seems like don't want to use the upload functionality, but rather you want to have FoxWeb retrieve the file from its original location, using an HTTP GET request.  Your original page will have to display the image and make it a link, which points to your FoxWeb script, passing the URL of the image in the query string:


<a href="GetImg.fwx?url=www.website2.com/pictures/abc.jpg">
<img src="http://www.website2.com/pictures/abc.jpg"></a>


The script GetImg.fwx will then be able to use an HTTP control, such as ASPHTTP, to send a request to the URL in the query string.


FoxWeb Support Team
support@foxweb.com email