Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A question of style
Message
From
03/02/2000 16:20:46
 
 
To
03/02/2000 16:09:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00326671
Message ID:
00326940
Views:
26
>>We use the InternetExplorer.Application object and manipulate the DOM directly - there's no user interaction at the web site. Depending on the capabilities at the server end, any number of things may be doable - send the report as a response packet, ftp, etc. are options.
>
>You can also use the "multipart/form-data" encoding to upload a file with native HTML (if you want to upload it to a web server process, and let that process deal with it).
>
>
>FORM NAME="frmUpload" METHOD="Post" ENCTYPE="multipart/form-data" ACTION="Upload.asp"
>
>INPUT TYPE="file" NAME="txtFileName"
>
>But decoding the file contents on the server process depends on what you are running on the server- using ASP, you do a BinaryRead on the Request object, and parse the contents, and write your file using some COM object with disk access rights.
>
>For details there are several articles at www.15Seconds.com that explain browser uploading...

Thanks, Erik - I'm not sure what's involved here - all I do from my end (I wrote the error handler for them) is check to ensure that IE is there, write the error log detail to a text file as well as to the logging database, and invoke their reporting class, which takes the file name and the object reference for the app object.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform