OLIVER Version 2.01

Extension for Form-Based File Upload in HTML
Compliant with MS-ISAPI Spec V.2.0
Montreal, July 30th 1998



Frequently Asked Questions
==========================

1/ How to disable the automatic prefix that is added to all the files?
2/ How can I implement multiple upload pages on my Web server?
3/ Is it possible to pass server environment variables to redirected URL?
4/ Which web browsers works with Oliver?
5/ How can I detect browsers that dont support file upload in HTML?
6/ Is it possible to upload files under different sub-directories?
7/ Is there any way I can set up an upload status window?



-------------------------------------------------------------------------
-------------------------------------------------------------------------



1/ How to disable the automatic prefix that is added to all the files?

>     I am interested in using Oliver on my internal website, 
>     but have some questions. Is there any way to disable the
>     automatic prefix that is added to all the files? 
>
You can now disable-enable the file prefix feature with the 
'PrefixFiles=yes or PrefixFiles=no' initialisation stuff. 
NOTE: If you set 'PrefixFiles=no' and there is a file
duplication event, you will receive an 940 error...



2/ How can I implement multiple upload pages on my Web server?

>     I have another question for you - I hope you don't mind. 
>     Is there any way I can use Oliver to receive files to a 
>     specific directory when called from one web page, and to
>     a different directory when called from a different page? 
>     I am not a programmer by any means, but it seems to me 
>     that it may be possible to alter a copy of Oliver to look
>     at a different .ini file to accomplish this...
>
Oliver looks for the following file for his configuration:
drive:\windows_home\oliver_extension_base_file_name.ini

So, if you use /scripts/isgt32.dll, Oliver will search:
  c\winnt\isgt32.ini.
If you use /scripts/oliver.dll, Oliver will search:
  c\winnt\oliver.ini.

Like that, you can have as much as upload web page as
you want. WARNING: 'If you presently use V.1.01,
by installing V.1.02 and above, please rename your 
Oliver.ini file to isgt32.ini ...



3/ Is it possible to pass server environment variables to 
   redirected URL?

>     Is it possible to pass server environment variables
>     to the query string some where? I would like to set
>     a environment variable like MYPATH=c:\winnt and use
>     it in my redirection CGI called by Oliver.
>
You can use on the redirection URL something like:
http://server/cgi/val1=!MYPATH&val2=!TEMP&val3=!PROMPT
So Oliver will return:
http://server/cgi/val1=c:\winnt&val2=c:\temp&val3=$P$G



4/ Which web browsers works with Oliver?

Any web browser that is compliant with RFC 1867 should work 
with Oliver. This includes the following list:

   - Netscape Navigator 3.0 
   - Netscape Communicator 4.0 
   - Microsoft Internet Explorer 3.0 (32-bit with upload patch applied) 
   - Microsoft Internet Explorer 4.0 



5/ How can I detect browsers that dont support file upload in HTML?

>     If a client use an old browser, he will not be able
>     to upload files on my server. My question is:
>     How can I trap the browser version?
>
Use JavaScript to detect the browser version.
For example:

<script>
<!--
var version = navigator.userAgent;
if(version.charAt(8) < "3")
{
   alert("It seems that you are using an old HTML client: \n" +
         "\"" + navigator.appName + " " + navigator.appCodeName + 
         " " + navigator.appVersion + "\"\n\n" + "Please update " +
         "your browser before uploading files on the server.\n");
}
// -->
</script>



6/ Is it possible to upload files under different sub-directories?

You can allow uploading under multiple sub-directories by using
"!OLV_TARGET_SUBDIRECTORY=adirectory" on the Oliver Query String.
The directory specified by !OLV_TARGET_SUBDIRECTORY must exist and
must be a sub-directory of the upload target directory. The upload
target directory is the one that is configured in the Oliver 
initialization file.

<FORM ENCTYPE="multipart/form-data"
      NAME="UploadForm"
      ACTION="http://your.server.address/scripts/isgt32.dll?!OLV_TARGET_SUBDIRECTORY=subdir"
      METHOD=POST>
  <P>
  <INPUT NAME="filedata" TYPE="file"   SIZE="43">
  <INPUT NAME="reset"    TYPE="reset"  VALUE="Reset ">
  <INPUT NAME="submit"   TYPE="submit" VALUE="Upload">
  <P>
</FORM>

The file will be then be uploaded under the TARGET_DIRECTORY\subdir directory.



7/ Is there any way I can set up an upload status window?

>     When a client upload a big file, the user just see 
>     from his browser the traditional browser logo running 
>     around. Is there any way that I can set up an upload 
>     window to inform the user on the current upload progress?

Yes. With Oliver V2.01 and above, you can set an Upload
status window. Just enable the UploadStatus section in the 
Oliver initialization file. Consult the Oliver readme file
for more details...

