Forums

ASP

This topic is locked

Very Hard Question about CreateTextFile

Posted 13 Nov 2003 17:54:50
1
has voted
13 Nov 2003 17:54:50 Frank Disseldorp posted:
Hi all,

This script (ASP Javascript) makes "test.txt":

<%
var fso = new ActiveXObject("Scripting.FileSystemObject";
var a = fso.CreateTextFile("test.txt", true);
a.WriteLine("line1";
a.Close();
%>

Question: Is there a way to put this file on the website AND on an other location? The script above only makes test.txt in the root of the website. I want to do this:

OUTPUT: www.website.com/test.txt AND 111.0.0.11/temp/test.txt

Is this possible? Is there an extention what does this kind of actions? I have bought Pure ASP Upload (PAU). Is it somehow possible to use PAU to do this?

I hope someone can help me because I spend hours on this one.


Thanks in advance,

Frank

Replies

Replied 15 Nov 2003 21:29:30
15 Nov 2003 21:29:30 Phil Shevlin replied:
Not familiar with your scripting language, but I don't know of anyway to write to an "external" computer. Maybe a hacker would know...

Reply to this topic