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
Dirlist on FTP server
-
htuser
- Posts: 687
- Joined: December 19th, 2011, 6:26 pm
- Location: Silver Spring Area, MD, USA
Dirlist on FTP server
G.VOLNY, a CSProuser from Haiti, since 2004
-
josh
- Posts: 2403
- Joined: May 5th, 2014, 12:49 pm
- Location: Washington DC
Re: Dirlist on FTP server
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.
-
htuser
- Posts: 687
- Joined: December 19th, 2011, 6:26 pm
- Location: Silver Spring Area, MD, USA
Re: Dirlist on FTP server
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!
Thanks in advance!
G.VOLNY, a CSProuser from Haiti, since 2004