Klaus Hofeditz ]project-open[ wrote:

I gave it a try since some of our users do upload files using tools
such as WINSCP. Since these files would also need to be accessible
through the ]project-open[ file manager, we need to come up
with a slightly more complex solution to detect files with special
chars.

I have a patch (not checked in yet) that will let ns_returnfile use the same files as native tcl commands (by doing the same utf-8 to external decoding that tcl does internally).

It would make sense to apply this to all file-handling commands. But it would make more sense to replace these where possible (and simple) with tcl versions that map to the builtin tcl commands?. I think the docs even say that many of these date back to the time when tcl did not include these functions. Would anyone have any objection to replacing these c-coded commands with tcl ones?

The commands that could be easily replaced are ns_chmod, ns_cp, ns_rename, ns_link, ns_mkdir, ns_rename, ns_rmdir, ns_symlink, ns_unlink, and ns_ftruncate.

-J


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
<lists...@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to