We help IT Professionals succeed at work.

Save Dat file at client side

Whing Dela Cruz
on
123 Views
Last Modified: 2017-11-08
Hi experts, I want to save dat file locally. Is this possible that the client side could save dat file? If not please give me  idea why? Thank you!

<!doctype html>
<html>
<body>
<form action="save.asp" method="post">
    <label for="textboxdata">Enter a message</label>
    <textarea id="textboxdata" name="textboxdata"></textarea>
    <input type="submit" value="Save locally"/>
    <p>
        <label>Name of the Dat</label>
          	    <input ype = "text"
                 	        id = "mydatName"
                 	    value = "fortune"
                            name="filename"
			            size="10"
                </
    </p>
</form>
</body>
</html>

Open in new window

Comment
Watch Question

Developer
CERTIFIED EXPERT
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION

Author

Commented:
Okey sir, what about a response from the server and save to client automatically. Example a message from the server and I want to save it to client pc to C:/sample. Is this the same not possible?

response.write(rs("messages")) //Save this message as .txt to C:/sample
Dave BaldwinFixer of Problems
CERTIFIED EXPERT
Most Valuable Expert 2014
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
Big MontyWeb Ninja at large
CERTIFIED EXPERT

Commented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.