Path and File Questions for On-Rev

Mike Bonner bonnmike at
Wed Nov 3 15:12:59 EDT 2010

if you set the defaultfolder to the defaultFolder & "/myFolder"
and then put the files you should be good to go.

delete file takes a path as argument so if you don't want to set the default
folder for that you can specify a relative (based on current default folder)
or absolute path
delete file "pathtofolder/filetodelete"
and the result will contain a fail message if the file was not found.

On Wed, Nov 3, 2010 at 12:59 PM, Gregory Lypny
<gregory.lypny at>wrote:

> Hi everyone,
> How can I get a simple listing of files in a subfolder named, say, myFolder
> in my public_html directory at On-rev?
> If I run
>        put the files
> I get the list of files in public_html.  Does files() accept a path as a
> parameter?  Haven't being able to get it to work.  Likewise, how can I
> delete files in a subfolder using irev scripts?
> I think my problem is that I'm not specifying paths on the server
> correctly.
> Regards,
> Gregory
> _______________________________________________
> use-revolution mailing list
> use-revolution at
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:

More information about the use-livecode mailing list