|
 |
asp_web_howto thread: Deleet files
Message #1 by "marc cardenas" <marclena@h...> on Mon, 29 Apr 2002 15:16:39
|
|
Does anyone knows how can I delete files in a machinne from an ASP file.
The files that I want to delte are not in the same machinne runing this
ASP file.
Can I use the fileSystemobject?
How.
Thanks
Message #2 by "TomMallard" <mallard@s...> on Mon, 29 Apr 2002 07:27:56 -0700
|
|
The asp page can call a windows host script to delete the file, the IIS
machine needs permissions and a network connection to the target machine.
tom mallard
seattle
-----Original Message-----
From: marc cardenas [mailto:marclena@h...]
Sent: Monday, April 29, 2002 3:17 PM
To: ASP Web HowTo
Subject: [asp_web_howto] Deleet files
Does anyone knows how can I delete files in a machinne from an ASP file.
The files that I want to delte are not in the same machinne runing this
ASP file.
Can I use the fileSystemobject?
How.
Thanks
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
Message #3 by "marc cardenas" <marclena@h...> on Mon, 29 Apr 2002 16:29:39
|
|
> The asp page can call a windows host script to delete the file, the IIS
machine needs permissions and a network connection to the target machine.
How can I do that?
Thanks
tom mallard
seattle
-----Original Message-----
From: marc cardenas [mailto:marclena@h...]
Sent: Monday, April 29, 2002 3:17 PM
To: ASP Web HowTo
Subject: [asp_web_howto] Deleet files
Does anyone knows how can I delete files in a machinne from an ASP file.
The files that I want to delte are not in the same machinne runing this
ASP file.
Can I use the fileSystemobject?
How.
Thanks
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
Message #4 by "marc cardenas" <marclena@h...> on Mon, 29 Apr 2002 16:31:08
|
|
> How can I delete a file on a diferent machine with winows host script?
Thanks
> tom mallard
s> eattle
-> ----Original Message-----
F> rom: marc cardenas [mailto:marclena@h...]
S> ent: Monday, April 29, 2002 3:17 PM
T> o: ASP Web HowTo
S> ubject: [asp_web_howto] Deleet files
>
D> oes anyone knows how can I delete files in a machinne from an ASP file.
T> he files that I want to delte are not in the same machinne runing this
A> SP file.
> Can I use the fileSystemobject?
H> ow.
T> hanks
> ---
> Improve your web design skills with these new books from Glasshaus.
> Usable Web Menus
h> ttp://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r> -20
C> onstructing Accessible Web Sites
h> ttp://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r> -20
P> ractical JavaScript for the Usable Web
h> ttp://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r> -20
-> --
C> hange your mail options at
t> o unsubscribe send a blank email to
%> %email.unsub%%.
Message #5 by "TomMallard" <mallard@s...> on Mon, 29 Apr 2002 08:41:55 -0700
|
|
The admin for the target machine needs to share the folder (right-click web
sharing) and give script/read permissions to the IIS machine IUSR_ or
ITEMPLATE_. The IIS machine admin needs to create a network drive to the
target machine.
tom
-----Original Message-----
From: marc cardenas [mailto:marclena@h...]
Sent: Monday, April 29, 2002 4:30 PM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Deleet files
> The asp page can call a windows host script to delete the file, the IIS
machine needs permissions and a network connection to the target machine.
How can I do that?
Thanks
tom mallard
seattle
-----Original Message-----
From: marc cardenas [mailto:marclena@h...]
Sent: Monday, April 29, 2002 3:17 PM
To: ASP Web HowTo
Subject: [asp_web_howto] Deleet files
Does anyone knows how can I delete files in a machinne from an ASP file.
The files that I want to delte are not in the same machinne runing this
ASP file.
Can I use the fileSystemobject?
How.
Thanks
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
Message #6 by "marc cardenas" <marclena@h...> on Mon, 29 Apr 2002 16:55:08
|
|
> The admin for the target machine needs to share the folder (right-click
web
sharing) and give script/read permissions to the IIS machine IUSR_ or
ITEMPLATE_. The IIS machine admin needs to create a network drive to the
target machine.
I heave this script to check if this folder exist on the target machinne
and I get false and I don't know why
the F drive is pointing to the target machinne
tom
-----Original Message-----
From: marc cardenas [mailto:marclena@h...]
Sent: Monday, April 29, 2002 4:30 PM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Deleet files
> The asp page can call a windows host script to delete the file, the IIS
machine needs permissions and a network connection to the target machine.
How can I do that?
Thanks
tom mallard
seattle
-----Original Message-----
From: marc cardenas [mailto:marclena@h...]
Sent: Monday, April 29, 2002 3:17 PM
To: ASP Web HowTo
Subject: [asp_web_howto] Deleet files
Does anyone knows how can I delete files in a machinne from an ASP file.
The files that I want to delte are not in the same machinne runing this
ASP file.
Can I use the fileSystemobject?
How.
Thanks
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
Message #7 by "marc cardenas" <marclena@h...> on Mon, 29 Apr 2002 16:55:46
|
|
> > The admin for the target machine needs to share the folder (right-
click
w> eb
s> haring) and give script/read permissions to the IIS machine IUSR_ or
I> TEMPLATE_. The IIS machine admin needs to create a network drive to the
t> arget machine.
> I heave this script to check if this folder exist on the target machinne
a> nd I get false and I don't know why
t> he F drive is pointing to the target machinne
dim objFso
set objFso=server.CreateObject("scripting.FileSystemObject")
Response.Write objFso.FolderExists("f:help")
> tom
> -----Original Message-----
F> rom: marc cardenas [mailto:marclena@h...]
S> ent: Monday, April 29, 2002 4:30 PM
T> o: ASP Web HowTo
S> ubject: [asp_web_howto] RE: Deleet files
>
>> The asp page can call a windows host script to delete the file, the IIS
m> achine needs permissions and a network connection to the target machine.
> How can I do that?
T> hanks
> tom mallard
s> eattle
-> ----Original Message-----
F> rom: marc cardenas [mailto:marclena@h...]
S> ent: Monday, April 29, 2002 3:17 PM
T> o: ASP Web HowTo
S> ubject: [asp_web_howto] Deleet files
>
D> oes anyone knows how can I delete files in a machinne from an ASP file.
T> he files that I want to delte are not in the same machinne runing this
A> SP file.
> Can I use the fileSystemobject?
H> ow.
T> hanks
> ---
> Improve your web design skills with these new books from Glasshaus.
> Usable Web Menus
h> ttp://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r> -20
C> onstructing Accessible Web Sites
h> ttp://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r> -20
P> ractical JavaScript for the Usable Web
h> ttp://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r> -20
-> --
C> hange your mail options at
t> o unsubscribe send a blank email to
%> %email.unsub%%.
>
-> --
> Improve your web design skills with these new books from Glasshaus.
> Usable Web Menus
h> ttp://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r> -20
C> onstructing Accessible Web Sites
h> ttp://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r> -20
P> ractical JavaScript for the Usable Web
h> ttp://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r> -20
-> --
C> hange your mail options at
t> o unsubscribe send a blank email to
%> %email.unsub%%.
Message #8 by "TomMallard" <mallard@s...> on Mon, 29 Apr 2002 11:32:16 -0700
|
|
Try...
Response.Write(server.mappath("filename.xxx")
Response.End
and see what it returns,
tom
-----Original Message-----
From: marc cardenas [mailto:marclena@h...]
Sent: Monday, April 29, 2002 4:55 PM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Deleet files
> The admin for the target machine needs to share the folder (right-click
web
sharing) and give script/read permissions to the IIS machine IUSR_ or
ITEMPLATE_. The IIS machine admin needs to create a network drive to the
target machine.
I heave this script to check if this folder exist on the target machinne
and I get false and I don't know why
the F drive is pointing to the target machinne
tom
-----Original Message-----
From: marc cardenas [mailto:marclena@h...]
Sent: Monday, April 29, 2002 4:30 PM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Deleet files
> The asp page can call a windows host script to delete the file, the IIS
machine needs permissions and a network connection to the target machine.
How can I do that?
Thanks
tom mallard
seattle
-----Original Message-----
From: marc cardenas [mailto:marclena@h...]
Sent: Monday, April 29, 2002 3:17 PM
To: ASP Web HowTo
Subject: [asp_web_howto] Deleet files
Does anyone knows how can I delete files in a machinne from an ASP file.
The files that I want to delte are not in the same machinne runing this
ASP file.
Can I use the fileSystemobject?
How.
Thanks
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
|
|
 |