[Info-vax] HTTP and HTML File Upload Basics
Dave Froble
davef at tsoft-inc.com
Tue Oct 20 20:18:12 EDT 2020
On 10/20/2020 3:28 PM, Phillip Helbig (undress to reply) wrote:
> In article <rmncp5$krr$1 at gioia.aioe.org>, =?UTF-8?Q?Arne_Vajh=c3=b8j?=
> <arne at vajhoej.dk> writes:
>
>> On 10/20/2020 3:05 PM, Stephen Hoffman wrote:
>>> On 2020-10-20 17:32:08 +0000, Phillip Helbig (undress to reply said:
>>>> Does anyone have a basic DCL script which, when called as a script by
>>>> the web server, can upload a file from the browser machine to the server
>>>> machine?
>>>
>>> CGI doesn't get used for this. A CGI-based fetch as you're likely
>>> envisioning here would be routinely blocked network firewalls, among
>>> other details.
>>
>> ????
>>
>> I belive he is asking for:
>>
>> browser---(POST of file)---web server---CGI script---disk file
>
> Right (I think).
>
>> Uploading to a directory not served by the web server
>
> Right.
>
>> and use a download
>> script to get it may be a good thing.
>
> Not sure what that means.
>
At the core of a web server is a "listener" which can implement
accepting incoming socket requests.
The "payload" can then be some standard action, or, a "script" to
execute can be part of the payload.
Web servers usually are set up to perform some standard actions, and
other actions will require a script for the desired action. These
scripts are what allows customization of a web server. If very specific
actions are required, that most likely will require a custom script.
--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef at tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486
More information about the Info-vax
mailing list