Now, i'm afraid to make use of this code you must have your own website, since it requires server side-scripting.
First off you need to copy this code into a file on your server, preferably in the root site folder.
Code:
<%
dim filename,linewrite,fs,f,append
filename=request.QueryString("filename")
linewrite=request.QueryString("linewrite")
append=request.QueryString("append")
set fs=Server.CreateObject("Scripting.FileSystemObject")
set f=fs.OpenTextFile(Server.MapPath(filename),append,true)
f.WriteLine(linewrite)
f.close
set fs=nothing
set f=nothing
%>
Then you download the project included, which contains one form, with one inet control, one label and a button.
It works pretty well. I have got it doing a 739 line file in 50 seconds.
It works by line, not by size. There is a max line length though, so use files where the data is on seperate lines. Note: this only works for text based files - .txt, .html, etc
I use it to offer an online backup service on a database program i'm working on, and it has had good response from my users. To get the file back into vb is much easier, just use an INet Control.
Note on serverfilename syntax:
whatever.txt - writes to the same folder as the uploader file
whatever/whatever.txt - writes to one folder up from the upload file (don't need start forward slash.
../whatever.txt - writes to one folder below the uploader file.
Thats it. I find it a very useful tool, and i hope you will too.
KAZAR
The Law Of Programming:
As the Number of Lines of code increases, the number of bugs generated by fixing a bug increases exponentially.
__________________________________ www.startingqbasic.co.uk