Hello, when sending a file, for example, via http you can specify a maximum timeout.
Is it possible to use something similar for SMB connections?
Thank you very much.
B4X:
j.PostMultipart(cLink,mMap,llfiles) ' Upload the files and also giving the additional Values (m Map) to the uploadendpoint
j.GetRequest.Timeout = globals.kiTimeOutWait ' <--- kiTimeOutWait = 10 s
Wait For (j) JobDone(j As HttpJob)
Is it possible to use something similar for SMB connections?
B4X:
SMB.UploadFile(globals.cDirExchange,cNameFile, globals.cRutSMB,cNameFile)
>>> SMB.Timeout = 10 <<<
Wait For SMB_UploadCompleted(Url As String, RemoteFile As String, Success As Boolean)
Thank you very much.