after retrieving i want to write to a file in local machine... (something .. c:\test.txt)
its work fine while i am running in local host.. but in net .. its showing error...
i want to know if i want to create a file.. from website.. whether i have to provide any permission.. (security concern)
please answer
regards
ela
.
MY coding is....
Expand|Select|Wrap|Line Numbers
- <%
- Set fs = CreateObject("Scripting.FileSystemObject")
- Set wfile = fs.CreateTextFile("c:\myfile.txt", True)
- ------------this database in ftp
- call opendatabase()
- Set rsftp= con.Execute("select * from sendsms")
- While not rsftp.Eof
- msg=rsftp.fields("col1")
- sender=rsftp.fields("col2")
- 'wfile.Write (msg)
- 'wfile.Write (sender)
- rsftp.movenext
- wend
- Conloc.Close()
- call closedatabase()
- %>