Save a file in the users floppy disk 
Author Message
 Save a file in the users floppy disk

Is it possible to save a file into the client's floppy disk, from a link?
Is is possible to save it with a different name in the destination?

Thanks in advance
Ruben Miquelino



Mon, 30 Dec 2002 03:00:00 GMT  
 Save a file in the users floppy disk
What application are is the file for?  I think I know how to do it in Word
or Excel, but am not sure how to do it in others.  I'm not sure if this will
work as I have not tried it out myself.  I use a similar bit of code though.
-Cedar

 Dim MyFile
 Set MyFile = GetObject("Current File Path","word.document")
 MyFile.Activate
 MyFile.SaveAs "a:\"
 MyFile.Close


Quote:
> Is it possible to save a file into the client's floppy disk, from a link?
> Is is possible to save it with a different name in the destination?

> Thanks in advance
> Ruben Miquelino



Mon, 30 Dec 2002 03:00:00 GMT  
 Save a file in the users floppy disk

Ruben,
    I'm not sure on the details of this, but this could possibly get you
started. If all of your client machines run Win98, WinNT, or Win2000 you
could write a client-side VBScript. Looks kind of like this:

<SCRIPT LANGUAGE="VBSCRIPT" RUNAT="CLIENT">
    Set objShell = WScript.CreateObject("WScript.Shell")
    'you can do all kinds of crazy things here
</SCRIPT>

What you can and cannot do with the shell, I am not so well versed on. You
can follow the link below to find out more about the possibilities. However,
I can see some problems you might run into. I'm not sure off the top of my
head how you would get the file you wish to save to the client's machine.
Perhaps it's as easy as providing a URL to the shell's Save command? And I'm
not sure how you could detect whether or not the client has a floppy in the
drive. And I don't know what would happen if they didn't (hopefully just a
harmless little messagebox prompting the user for a diskette).

http://msdn.microsoft.com/scripting/windowshost/doc/wshtoc.htm

PS--PLEASE DON'T CROSSPOST LIKE THAT ANYMORE.


Quote:
> Is it possible to save a file into the client's floppy disk, from a link?
> Is is possible to save it with a different name in the destination?

> Thanks in advance
> Ruben Miquelino



Mon, 30 Dec 2002 03:00:00 GMT  
 Save a file in the users floppy disk
Ruben,

     Let them download the file.  You cannot save it directly to their
     machine.
     It's the old problem: Your ASP runs on your Server in your home
     town, the User (and their floppy disk drive) could be en route to
     New York at 35,000 feet).

HTH,
    Phill  W.

Quote:

> Is it possible to save a file into the client's floppy disk, from a link?
> Is is possible to save it with a different name in the destination?

> Thanks in advance
> Ruben Miquelino



Tue, 31 Dec 2002 03:00:00 GMT  
 Save a file in the users floppy disk
I tend to agree. Clients aren't going to thank you for insisting where the
file goes anyway... The original question was can it be done and to that I
am not quite sure... Certainly not with HTML anyway.

John Tear
www.webusiness-solutions.com


Quote:
> Ruben,

>      Let them download the file.  You cannot save it directly to their
>      machine.
>      It's the old problem: Your ASP runs on your Server in your home
>      town, the User (and their floppy disk drive) could be en route to
>      New York at 35,000 feet).

> HTH,
>     Phill  W.


> > Is it possible to save a file into the client's floppy disk, from a
link?
> > Is is possible to save it with a different name in the destination?

> > Thanks in advance
> > Ruben Miquelino



Tue, 31 Dec 2002 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Saving an HTML file to the local hard disk without prompting user

2. Floppy disk to disk copy?

3. Split large file into floppy disks

4. Span large file into floppy disks

5. Compress file and span to floppy disk

6. WSH engine on a floppy disk?

7. Saving user-defined data types to disk

8. Saving user defined data type on disk

9. saving data on a floppy

10. Diskette's properties in Floppy Disk

11. floppy disk volume name

12. Format Floppy disk using VB

 

 
Powered by phpBB® Forum Software