RC6/VbRichclient5 : How to Use FTP using cDownloads?
Hello Seniors,
As cDownloads work as expected but no information regarding how to use FTP things? and can we host FTP server by using current RC6 without doing much for small internal works. the scenerio is group of pcs connected with lan server send them result files.
using windows sharing causes so much effort some time., dont want to install IIS, Filezilla Server they exits but control on own hands much better.
please suggest me Olaf!!!
thank you for such wonder full work
1 Attachment(s)
Re: RC6/VbRichclient5 : How to Use FTP using cDownloads?
I haven't tried it, but it looks like the cDownloads.Download method has a Method parameter that accepts a dl_FTP value. So for downloads at least, it looks like FTP is possible:
Attachment 194378
NOTE that FTP is NOT the same as SFTP, so if your FTP server is actually an SFTP server then the above is unlikely to work.
Regarding an FTP server, you'd have to roll your own using the cTCPServer class, or you could look into writing a custom file transfer system using the RC6 cRPCListener and cRPCConnection classes.
Re: RC6/VbRichclient5 : How to Use FTP using cDownloads?
There's also the wininet FTP APIs, FtpGetFile etc
Re: RC6/VbRichclient5 : How to Use FTP using cDownloads?
Thank you,
it seems direct approach for quick get file no connection management etc. for simplest work
thank you again for your work and suggestion
Re: RC6/VbRichclient5 : How to Use FTP using cDownloads?
Yes but as my concern with exploring the limit of this wonderful library also your work towards vb community
thank you