You are viewing a plain text version of this content. The canonical link for it is here.
Posted to asp@perl.apache.org by Patricio Muñoz <pm...@cmet.net> on 2003/12/09 15:16:58 UTC

Methods

Hi All,
I work with module Apache::ASP and not found documentation for method
CreateObject("Scripting.FileSystemObject").
For sample the next script in ASP

<%
Set filesystem = CreateObject("Scripting.FileSystemObject")
Set folder = filesystem.GetFolder(server.mappath(mypath))
Set subfolders = folder.SubFolders
Set filecollection = folder.Files
%>

what methods support Apache::ASP ?
GetFolder, SubFolders, Files ?

regards


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Re: Methods

Posted by Patricio Muñoz <pm...@cmet.net>.



> Hi Patricio,
>
> i guess you won't find any documentation of
> CreateObject("Scripting.FileSystemObject") because Apache::ASP currently
> and probably in all the future only supports the Perl programming
language.
>
> But i think, you can "translate" this into Perl.
>
> So there are several ways to manipulate, read or create files and
> directories in perl - for a first overview see
>
> http://www.perldoc.com/perl5.6/pod/perlfunc.html
> "Functions for filehandles, files, or directories"
>
> or take a look at the modules IO::Dir, IO::File and so on at CPAN
> (http://www.cpan.org)
>
> Helmut

Thank's friend, i see the documentation :-)

best regards

> --On Tuesday, December 09, 2003 11:16:58 -0300 Patricio Muñoz
> <pm...@cmet.net> wrote:
>
> > Hi All,
> > I work with module Apache::ASP and not found documentation for method
> > CreateObject("Scripting.FileSystemObject").
> > For sample the next script in ASP
> >
> > <%
> > Set filesystem = CreateObject("Scripting.FileSystemObject")
> > Set folder = filesystem.GetFolder(server.mappath(mypath))
> > Set subfolders = folder.SubFolders
> > Set filecollection = folder.Files
> > %>
> >
> > what methods support Apache::ASP ?
> > GetFolder, SubFolders, Files ?
> >
> > regards
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
> > For additional commands, e-mail: asp-help@perl.apache.org
> >
> >
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
> For additional commands, e-mail: asp-help@perl.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Re: Methods

Posted by Helmut <h....@envirotex.de>.
Hi Patricio,

i guess you won't find any documentation of 
CreateObject("Scripting.FileSystemObject") because Apache::ASP currently
and probably in all the future only supports the Perl programming language.

But i think, you can "translate" this into Perl.

So there are several ways to manipulate, read or create files and 
directories in perl - for a first overview see

http://www.perldoc.com/perl5.6/pod/perlfunc.html
"Functions for filehandles, files, or directories"

or take a look at the modules IO::Dir, IO::File and so on at CPAN 
(http://www.cpan.org)

Helmut



--On Tuesday, December 09, 2003 11:16:58 -0300 Patricio Muñoz 
<pm...@cmet.net> wrote:

> Hi All,
> I work with module Apache::ASP and not found documentation for method
> CreateObject("Scripting.FileSystemObject").
> For sample the next script in ASP
>
> <%
> Set filesystem = CreateObject("Scripting.FileSystemObject")
> Set folder = filesystem.GetFolder(server.mappath(mypath))
> Set subfolders = folder.SubFolders
> Set filecollection = folder.Files
> %>
>
> what methods support Apache::ASP ?
> GetFolder, SubFolders, Files ?
>
> regards
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
> For additional commands, e-mail: asp-help@perl.apache.org
>
>





---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org