Dirlist on FTP server

Discussions about syncing data via Bluetooth, Dropbox, FTP, and using CSWeb
Forum rules
New release: CSPro 8.0
Post Reply
htuser
Posts: 631
Joined: December 19th, 2011, 6:26 pm
Location: Silver Spring Area, MD, USA

Dirlist on FTP server

Post 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
G.VOLNY, a CSProuser from Haiti, since 2004
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Dirlist on FTP server

Post 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.
htuser
Posts: 631
Joined: December 19th, 2011, 6:26 pm
Location: Silver Spring Area, MD, USA

Re: Dirlist on FTP server

Post 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!
G.VOLNY, a CSProuser from Haiti, since 2004
Post Reply