Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

directory in my ftp

can anyone help me in my problem? i made a html that make a textfile in directory in "c:\textfile.txt".
the code goes like this.

Sub createtextfile()

Dim fso, f1, ts, s
Const ForReading = 1
Set fso = CreateObject("Scripting.FileSystemObject")
Set f1 = fso.CreateTextFile("c:\testfle2.txt", True)
' Write a line.
f1.WriteLine "Hello World"
f1.WriteBlankLines(1)
f1.Close
'Read the contents of the file.

Set ts = fso.OpenTextFile("c:\testfle2.txt", ForReading)
s = ts.ReadLine
document.formone.text1.value = s
ts.Close
End Sub

my main problem is i wish i can make a textfile in my ftp and read it. i cant fix the right directory. please use some example how to make and read textfiles in my ftp folder or account to use it as a data so i can store datas. its like a data retriever. i wish you could help me... please... huhuhuhuuh... im dying... :( please guys...
[987 byte] By [hazelhurtmeagen] at [2007-11-11 8:40:09]