PDA

View Full Version : I got your table FTP.ListFiles (); hang'in


Bruce
01-21-2008, 02:17 PM
What if you asked your server if there we're any files:
table FTP.ListFiles ();
and there we're none and you wanted to have a dialog that said "sorry loser, arnt no files!".
How would you go about getting this info?

holtgrewe
01-21-2008, 09:38 PM
Bruce,
This may work for you.

mylist = FTP.ListFiles()
if mylist == nil then
Dialog.Message("nuttin honey", "")
end

I haven't tested this so I don't know if it will still hang up on you.
hth

Bruce
01-21-2008, 11:23 PM
thx a ton!

azmanar
01-22-2008, 02:43 PM
Hi,

Bruce has the funniest avatar..... :lol:lol:lol

Bruce
01-23-2008, 12:53 AM
Hi,

Bruce has the funniest avatar..... :lol:lol:lol

That's what I look like using AMS