Hi, I'm having a lot of trouble trying to get what I need.
The process is as follows:
- From an android device I send SMB files to a computer (windows/linux).
The files have the name yyyyymmddhhmmssSSS.qry
(20170830213615255.qry)
- The Windows/linux computer processes these files and responds by creating the response in files that
have the same name, but ending in .res (yyyyymmddhhmmssSSS.res)
The response time (creating the file and leaving it in the shared directory) is about tenths of a second, though sometimes
may take several seconds.
The android device has to be checking that the response files are present, in order to download and process them.
I'm doing it through SMB, to upload them there's no problem:
Then I don't know how to get android to wait for the response file to be
available on the SMB machine for downloading and processing.
I don't know if you can give me any examples, ideas or tricks on how to get it.
Add the files to a list and process them from there?
Thank you for your help.
The process is as follows:
- From an android device I send SMB files to a computer (windows/linux).
The files have the name yyyyymmddhhmmssSSS.qry
(20170830213615255.qry)
- The Windows/linux computer processes these files and responds by creating the response in files that
have the same name, but ending in .res (yyyyymmddhhmmssSSS.res)
The response time (creating the file and leaving it in the shared directory) is about tenths of a second, though sometimes
may take several seconds.
The android device has to be checking that the response files are present, in order to download and process them.
I'm doing it through SMB, to upload them there's no problem:
B4X:
SMB1.UploadFile(cDirExchange, cNameFileQry, cPathSMB, cNameFileQry)
Then I don't know how to get android to wait for the response file to be
available on the SMB machine for downloading and processing.
I don't know if you can give me any examples, ideas or tricks on how to get it.
Add the files to a list and process them from there?
Thank you for your help.