Trebam da napravim ftp client u delphi-u.Koristim indy ftp komponentu ali ne znam kako da povezem filelisbox i indy ftp da mi pokaze u filelistboxu fajlove koji se nalaze na ftp serveru.mozda treba neka druga komponenta....
delhi i indy ftp
Zaključano
Zakačeno
resio to ovom linijom, prvi put radim s ovim pa imam problem :D
idftp1.List(filelistbox1.Items);
u filelistboxu mi pokazuje ovo
drwx--x--x 7 apell apell 4096 jul 21 08:58 www
kako da mi www(to je folder) bude prvi a ovo drugo posle
idftp1.List(filelistbox1.Items);
u filelistboxu mi pokazuje ovo
drwx--x--x 7 apell apell 4096 jul 21 08:58 www
kako da mi www(to je folder) bude prvi a ovo drugo posle
Koristi DirectoryListing property, dobićeš stavke tipa TIdFTPListItem odakle možeš videti da li je to dir, fajl, naziv, atribute i ostalo.
Potpis
Do not be a help vampire (http://slash7.com/pages/vampires), use the google.
How to ask questions the smart way:
http://www.catb.org/~esr/faqs/smart-questions.html
http://solair.eunet.rs/~fangor...stions/smart-questions.sr.html
How to ask questions the smart way:
http://www.catb.org/~esr/faqs/smart-questions.html
http://solair.eunet.rs/~fangor...stions/smart-questions.sr.html