I have a mobile application, which takes images by phone camera when there is an internet connection it sends them directly to a SFTP server
but when there is no connection it saves them in the local storage and once the connection is restored it sends them to the server
the problem is when I take more than two images without internet connection it doesn't send anything to the server
Hi @Jad MS
Isn't it expected to not send anything to the server since the device is not connected to the internet ?
Hi @Marco Mateo
No, when there is no Internet connection you can save the images in the local storage, once the Internet is restored the images will be sent automaticaly to the server
The code works very well for me but that I depace 2 photos the application spits out
Hi Jad,
Might be a syncing issue.
Are you using any plugins ? or just the upload widget ?
If it is possible, please share a sample oml where you experience the issue.
Hello Jad.
I see two very obvious options of error.
1) An error in logic that can't handle two images.
2) Total file size is too large and the operation times out.
First you have to make a screen to check if you have two images stored locally and the size of each.
Then, you have to debug the server logic to see if you get both images and store them.