I'm using a free webhost that has disallowed access to the FSO, which is
making my life that much harder. I want to be able to read in text
files, but I don't know of any way except using the FSO. [bangs head
against wall] Help? Please?
--
auric underscore underscore at hotmail dot com
*****
Stupidity - the ONLY effective anti-hacker method.
-- CommanderStab (irc)

Re: Any way to read text files without using FileSystemObject in by Charles

Charles
Tue Jun 22 14:30:45 CDT 2004

Hi,

How about a Jave/JavaScript solution? url is the path/filename of the
text file.


var fileStream = new java.net.URL(url);
var textFile = new java.io.DataInputStream(fileStream.openStream());

while((line = textFile.readLine()) != null)
{
if(line != "" && line.substring(0, 1) != "'")
{
// If line is not a comment process data here;
}
}
textFile.close();


Hope this helps,

CEF

On 6/22/2004 12:57 PM, Auric__ wrote:
> I'm using a free webhost that has disallowed access to the FSO, which is
> making my life that much harder. I want to be able to read in text
> files, but I don't know of any way except using the FSO. [bangs head
> against wall] Help? Please?

Re: Any way to read text files without using FileSystemObject in ASP? by jeff

jeff
Tue Jun 22 17:31:36 CDT 2004

On Tue, 22 Jun 2004 10:57:09 -0700, Auric__
<not.my.real@email.address> wrote:

>I'm using a free webhost that has disallowed access to the FSO, which is
>making my life that much harder. I want to be able to read in text
>files, but I don't know of any way except using the FSO. [bangs head
>against wall] Help? Please?

Javascript? Perl? Whatever works with your "free" server?

Jeff

Re: Any way to read text files without using FileSystemObject in ASP? by Auric__

Auric__
Wed Jun 23 00:24:41 CDT 2004

On Tue, 22 Jun 2004 22:31:36 GMT, Jeff Cochran wrote:

>On Tue, 22 Jun 2004 10:57:09 -0700, Auric__
><not.my.real@email.address> wrote:
>
>>I'm using a free webhost that has disallowed access to the FSO, which is
>>making my life that much harder. I want to be able to read in text
>>files, but I don't know of any way except using the FSO. [bangs head
>>against wall] Help? Please?
>
>Javascript? Perl? Whatever works with your "free" server?
>
>Jeff

I want access to it at the server, not at the client. The server only
has ASP - Perl would be great if they were willing to install it, but
I'm not holding my breath.
--
auric underscore underscore at hotmail dot com
*****
Enemies strengthen you. Allies weaken.
-- Frank Herbert