Incode Systems Home Page Incode Systems, Inc.


SAVEFILE



SaveFile is web server tool for saving an HTML form containing a file upload to a file on the web server. SaveFile is very useful in diagnosing problems with upload process scripts.

SaveFile creates a unique file on the web server containing the contents of the form in the same format as an INI file:

[ENVIRONMENT]
AUTH_TYPE=
CONTENT_LENGTH=123
CONTENT_TYPE=application/x-www-form-urlencoded
GATEWAY_INTERFACE=CGI/1.1
HTTP_ACCEPT=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt)
PATH_INFO=
QUERY_STRING=
REMOTE_ADDR=192.168.1.12
REMOTE_HOST=192.168.1.12
REMOTE_IDENT=
REMOTE_USER=
REQUEST_METHOD=POST
SCRIPT_NAME=/gateway/SaveFile.exe
SERVER_NAME=192.168.1.1
SERVER_PORT=80
SERVER_PROTOCOL=HTTP/1.1
SERVER_SOFTWARE=Microsoft-IIS/3.0
[CONTENT]
(file upload contents here)

For forms which do not contain a file upload, use SaveForm instead since it provides parsed form content.