I have been developing a program that uses the SMB Samba library to access a server box and download files. I need to download a complex directory tree to the SD card and it is tedious to say the least.
However I get random errors which may be network glitches or whatever when I request a file list like
mysmb.ListFiles(mydir,"")
when I check the ListCompleted event sometimes it is ok but other times the Success flag reports false. If is simply make my software "try again" i.e. issue the same request again it usually works fine.
I find programming for the SMB not straight forward as handling events for ListCompleted and DownloadCompleted requires complex logic when one has a complex and large number of files.
Anyone else experience this problem / bug ?
Am now coding up same logic using the MLFiles library and so far that seems much better.... will advise when finished.
However I get random errors which may be network glitches or whatever when I request a file list like
mysmb.ListFiles(mydir,"")
when I check the ListCompleted event sometimes it is ok but other times the Success flag reports false. If is simply make my software "try again" i.e. issue the same request again it usually works fine.
I find programming for the SMB not straight forward as handling events for ListCompleted and DownloadCompleted requires complex logic when one has a complex and large number of files.
Anyone else experience this problem / bug ?
Am now coding up same logic using the MLFiles library and so far that seems much better.... will advise when finished.