can anyone point me to some straightforward information on
file uploading without using an html form? That is, direcly from
within a php script.
if I know the local path etc. to a particular requested file how can I send
it
directly to a location on a remote webserver following
a request from the remote server?
The motivation is that I have a large number of image files that are
infrequently requested
but need to be available in full-weight format (2meg+ size) as and when
required from a website.
I don't really want to store the full size fles online as it would be quite
a few gigabytes, just a preview size.
is all that's needed. Local storage is very inexpensive and easier to
maintain!
When a file is requested, I simply want the webserver to call my local
server
and get it to upload the requested file (or files ) to the webserver to be
picked up by the user.
cant seem to get a handle on this - all the info on uploading
seems to be about uploading from a form. Any pointers would be appreciated.