This might be too specific to the OSU-server, but maybe I can get some
If it's possible with some other programming language, it should be
possible with DCL, right? So if the answer to the first question is
"yes", then the answer to the second should be "yes" as well.
Here is an example page (which uses DCL_ENV_RM.COM which ships with the
<form method="POST" action="/scripts/dcl_env_rm">
<input name="name" type="text" size=40 maxlength=80><BR>
<input type="text" name="textline" size="30"><BR>
<input type="file" name="datafile" size="40">
<input type="submit" value="send">
It lets me choose a file on the system where the web browser is running
and the web server has the name of the file in WWW_FLD_DATAFILE.
What I need now is a procedure to replace DCL_ENV_RM.COM which would
copy the file specified in WWW_FLD_DATAFILE to a directory (could be
hard-coded) on the machine where the server is running. It would be
sufficient if it properly handles just normal text files (even just
7-bit printable ASCII would be enough).
Many web sites allow one to browse a list of files on a local disk
accessible to the web browser and upload one or more, so this isn't
something really bizarre. My guess is that the OSU server would support
it. The question is whether it can be done without having to install
PHP or whatever. With regard to the scripting language, is there any
reason why DCL shouldn't work?