List Files

Richard Gaskin ambassador at fourthworld.com
Sun Sep 1 13:49:01 EDT 2002


Dan Friedman wrote:

> My application creates files and I want to provide a way for the user to
> post these files to a website or file server.  Uploading and Downloading the
> files is no problem.  But, I want to list the files that are currently on
> the website or file server.  How do you do this?
> 
> I tried using the "files" and "folders" functions, but I can't get the
> defaultFolder property set to a non-local directory.  For example:
> 
> set the defaultFolder to "ftp://user:passowrd@ftp.webSite.com" returns
> "Can't open directory."
> 
> Anyone have any suggestions?

Put "/" after the URL to denote a directory.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Custom Software and Web Development for All Major Platforms
 Developer of WebMerge 2.0: Publish any database on any site
 ___________________________________________________________
 Ambassador at FourthWorld.com       http://www.FourthWorld.com
 Tel: 323-225-3717                       AIM: FourthWorldInc




More information about the use-livecode mailing list