Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Copying a file from one machine to another


Message #1 by kathleen.m.egan@b... on Thu, 22 Aug 2002 15:05:09
I doubt that a user is going to want to allow you to drop / get files from 
their PC, although in an intranet it may be okay, why not get them to 
download the file ? If you must do it, do it on the server side using ASP 
etc if possible.

At 15:05 22/08/02 +0000, you wrote:
>How do I copy a file from one place to another (client to server, server
>to server, etc.) in Netscape?
>
>This code seems to work for IE:
>
><script>
>   var objFSO;
>   objFSO = new ActiveXObject("Scripting.FileSystemObject");
>   objFSO.CopyFile("c:\\Temp\\test.txt", "d:\\");
></script>
>
>What is the equivalent in Netscape?
>
>---
>
>Improve your web design skills with these new books from Glasshaus.
>
>Usable Web Menus
>http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
>r-20
>Constructing Accessible Web Sites
>http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
>r-20
>Practical JavaScript for the Usable Web
>http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
>r-20



  Return to Index