axman505
asked on
Convert Doc to HTML
Is there a way i could set up a script for a doc or rtf file to be uploaded to my server, then run that file over some kind of convertor to convert it to html code?
Does anyone know if this is possible?
Does anyone know if this is possible?
In all the below 3 methods, you can hardcode the directory of the file to be saved.
1. Pure AspUpload Method
This method purely uses VBScript runtime scripting library to do uploading. See below link for example code.
http://www.asp101.com/articles/jacob/scriptupload.asp
One benefit of this is that it does not require any components/dll to be registered and thus is most desired if you do not have permission to register any components on the server machine.
One setback of this method is uploading of large files over network can be quite slow because of the slow byte-to-string and string-to-byte conversions.
2. Using Server Upload Components (Highly Recommended)
Using server upload components mean you got to register some dlls so that its functions will be exposed. Some of the popular upload components are AspUpload and AspSimpleUpload.
Download AspUpload at
http://www.aspupload.com
Download AspSimpleUpload at
http://www.asphelp.com/aspsimpleupload/
There are even documentations of the components from the site itself.
Learn More on Upload
http://www.4guysfromrolla.com/webtech/LearnMore/Upload.asp
3. Fast byte-to-string and string-to-byte conversion
http://www.taka.nl/programming/asp/pseudorequest/default.asp
hongjun
1. Pure AspUpload Method
This method purely uses VBScript runtime scripting library to do uploading. See below link for example code.
http://www.asp101.com/articles/jacob/scriptupload.asp
One benefit of this is that it does not require any components/dll to be registered and thus is most desired if you do not have permission to register any components on the server machine.
One setback of this method is uploading of large files over network can be quite slow because of the slow byte-to-string and string-to-byte conversions.
2. Using Server Upload Components (Highly Recommended)
Using server upload components mean you got to register some dlls so that its functions will be exposed. Some of the popular upload components are AspUpload and AspSimpleUpload.
Download AspUpload at
http://www.aspupload.com
Download AspSimpleUpload at
http://www.asphelp.com/aspsimpleupload/
There are even documentations of the components from the site itself.
Learn More on Upload
http://www.4guysfromrolla.com/webtech/LearnMore/Upload.asp
3. Fast byte-to-string and string-to-byte conversion
http://www.taka.nl/programming/asp/pseudorequest/default.asp
hongjun
Seriously you got to consider up your points.
hongjun
hongjun
ASKER
looks like this is alot of VB stuff. I am running Apache under Redhat.
ASKER
Something perl or php based would be best. Is there any such thing?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q291/3/25.ASP&NoWebContent=1
hongjun