I am not quite sure about LIST command. In FTP help i can find only LS and DIR commands. Did you try them?
>Hi All.
>
>I am using wwIPstuff Version 4.25. I am trying to use the FTPCommand(). I can connect to the FTP server ok. I can retrieve a file ok. But when I try to use the FTPCommand to "LIST" the folder contents it always comes back with a success flag but an empty list. Sample from wwIPStuff help:
>
>
>oFTP = CREATE("wwFTP")
>? oFTP.FTPConnect("myftpserver.com")
>
>lcResult = space(1025)
>lnSize=1024
>
>? oFTP.FTPCommand("LIST",@lcResult,@lnSize)
>? lcResult
>
>
>
>Has anyone got this to work? Also, related to this, is there a quick way to get the file size of a specific file as opposed to issuing the "LIST" command to get all files and file sizes?
>
>Thanks.