|
Posted by Jukka K. Korpela on 11/23/05 00:30
Disco Octopus <discooctopus@yahoo.com> wrote:
>> What I'm doing (really) is this: creating a HTML/ASP script. With this
>> script the maintainer of a webpage can select an M$ Word document (by
>> means of a selection list) from a predefined directory and put the name
>> of that document into a file. This contents of this file, containing
>> documentnames, will be shown as a frame in another webpage. I hope this
>> clears things up.
>
> Is it possible for you to use the <input type="file">.
Yep. The hard part is to write the handling of the submitted file (after
checking its size, the user's credentials, and a few other things).
The generics (with almost no info on ASP specifics, sorry) are described at
http://www.cs.tut.fi/~jkorpela/forms/file.html
> they can then
> choose whatever doc they want from whatever directory.
Yes. But there's unfortunately no way to restrict the choices (filter the
view) to Word documents, except manually by the user in the dialog.
Neither is there any way to set the initial directory in the form.
> You then upload it to your server, and send it back out to the other
> frame.
Maybe. But frames are considered evil, and displaying a Word document "inside
a browser" all too often messes things up.
--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
Navigation:
[Reply to this message]
|