Checking For An FTP File

Mark Smith mark at maseurope.net
Fri Nov 17 20:29:52 EST 2006


Bridger, one way would be to download the listing for the directory  
you're interested in.

Say you want to know if "ftp://someServer.com/someDirectory/someFile"  
exists,

do this:

put URL "ftp:/someServer.com/SomeDirectory/" into fileList

fileList now contains  list of the files in that directory, so you  
can check if the file you want is there.

Best,

Mark



On 18 Nov 2006, at 00:45, Bridger Maxwell wrote:

> Hey,
>  How would I check to see if a file exists on an ftp server?   
> "There is a
> file " does not work with ftp addresses.
>
>  TTFN
>    Bridger
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list