Page 1 of 1

Dirlist on FTP server

Posted: May 31st, 2019, 1:29 pm
by htuser
Dear Cspro Developer Team,
I would like to know if i can have a list of all files on a FTP server using dirlist?
Thanks in advance

Re: Dirlist on FTP server

Posted: May 31st, 2019, 1:50 pm
by josh
This is not possible. You can use wildcards in syncfile() to download multiple files in a directory but there is no way to get the listing.

Re: Dirlist on FTP server

Posted: May 31st, 2019, 6:21 pm
by htuser
Thank you Josh for your quick response. Since ftp support ls command, similar to dirlist, in the future, can we hope to have a dirlist with ftp parameters dirlist(ftp) wrapping the ls command?

Thanks in advance!