uploading files without a form

From: Chamomile (newsgroups_at_chamomile.co.uk)
Date: 03/06/05


Date: Sun, 6 Mar 2005 17:18:54 +0000 (UTC)

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.



Relevant Pages

  • Re: File Post Control
    ... I am using file post control to upload a large file to web server. ... Now what this control do is that it will reject any such request ... > is see if the request is for uploading ... and keep on rejecting th eread portion from memory. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: problem uploading large file with webservice
    ... Here I am facing same error:while uploading file larger than 4MB ... give a http 500 error ("request too big" or something like that). ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Some piccies.
    ... By request, I posted a few pictures on alt.binaries.pictures.woodworking. ... you're uploading anyways..ssooooo ... Prev by Date: ...
    (rec.woodworking)
  • Whats Wrong With Second Connection String !
    ... rootfolder ... These string work fine when using on my homeserver but after uploading ... them on the online webserver they are not working. ...
    (microsoft.public.inetserver.asp.db)
  • upload file to webserver
    ... I'm looking at which option is best to take when uploading a file to a ... webserver. ... Webservice, probably with DimeAttachment ... I don't have control over the client environment. ...
    (microsoft.public.dotnet.framework.windowsforms)