> This work fine for me : > > function FTP_Dir_Refresh active_path > set cursor to watch > libURLSetFTPListCommand "NLST" > put FTP_Server_Address & active_path & "/" into tServer > put URL tServer into tData > replace crlf with cr in tData > replace lf with cr in tData > libURLSetFTPListCommand "LIST" > get URL tServer > filter it with "*" & toUpper(char 1 to 4 of the label of btn > "b_blog_category") & "*_?????_*.xml?" > return it > end FTP_Dir_Refresh
Hi Pierre, I have never used libURLSetFTPListCommand so I guess it changes the returned format and I will try that out. But I don't understand why your function gets the file listing twice - once with each listing type. Cheers, Sarah _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution