Place hfupload.exe in your Magic/eDeveloper "SCRIPTS" directory
Place hfupload.ini in your Magic/eDeveloper "SCRIPTS" directory
hfupload.ini has the following sample format:
[HFUPLOAD]
inifile=c:\hotfudge\hfv2beta\appupload.ini
The inifile referred to contains configuration information for the upload process.
appupload.ini has the following sample format:
[UPLOAD]
uploaddir=c:\wamp\www\upload\
mgrequester=/magic94scripts/mgrqcgi94.exe
redirectappname=magicappname
redirectprgname=magicprgname
;maxfilesize=1000000
File upload can be time consuming and tie up limited magic requester resources.
HFUPLOAD seeks to divert the work of http file upload away from Magic, handle the upload seperately, save the
file in the designated location within designated limits and checks and then pass-on
information about the request, content and file to the magic application.
See HotFudge demo programs "HotFudge Upload" and "HotFudge Upload Result"
You may see the HotFudge Upload demo by accessing it perhaps like this:
http://localhost/magic94scripts/mgrqcgi94.exe?appname=hotfudge&prgname=hfupload
Depending on your version of eDeveloper, web server and local install configuration
certain file references will need changed in this and the ini settings.
Make sure the directory referenced as "uploaddir" above exists and is accessible
beneath your webroot.
|