Re: Path and File Questions for On-Rev

2010-11-04 Thread Gregory Lypny
Thanks Andre, Matthias, and Mike, All good tips. I'm using them at this very minute! Gregory ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: htt

Re: Path and File Questions for On-Rev

2010-11-03 Thread Andre Garzia
better than that is to create a listFiles function such as: function listFiles pPath put the defaultfolder into tCurrentDefaultFolder set the defaultfolder to pPath get the files set the defaultfolder to tCurrentDefaultFolder return it end listFiles This way, you don't risk overwriting

Re: Path and File Questions for On-Rev

2010-11-03 Thread Mike Bonner
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 "p

Re: Path and File Questions for On-Rev

2010-11-03 Thread Matthias Rebbe
Gregory you have just to change the default folder. " in tList put tList ?> Regards, Matthias Am 03.11.2010 um 19:59 schrieb Gregory Lypny: > 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

Path and File Questions for On-Rev

2010-11-03 Thread Gregory Lypny
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,