Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

whats app image load time settings in vfp 9.0

Status
Not open for further replies.

DHERU

Programmer
Oct 5, 2021
1
IN
Hello

I am using vfp 9.0 and set coding to send my report directly to whatsapp in jpeg format.

But it is not sent every time because of net speed. So I need to set some waiting time to upload this image to whats app. Does any one has calculation of upload time ?
 
In the simplest case upload_speed[MBit/s]/(8*image_size[MB]).

But an upload process usually is slower than the maximum upload speed you have according to your ISP plan. Plus there is some latency time before an upload starts.

Why calculate the time to wait, you could first upload the image to your own site or an image upload and share service like Google Photos and then send a whatsapp message using an image URL instead of the image itself. So you can post your report jpeg prior to sending the Whatsapp message and you can wait for the HTTP POST of the image to finish, so you know the image is available online before you send the Whatsapp message.

For sensitive data better only upload to your own website, though, where you could protect the jpeg to be downloaded by everyone simply by only storing it as long as it wasn't downloaded, by giving it a random name with a GUID, for example, so only the one who gets the Whatsapp message has the URL.

Chriss
 
Chris , in this way problem is that software is deployed at party site and saving third party data to server is not acceptable to parties using software.
 
Well, if you directly send images, while Whatsapp is encrypting endpoint to endpoint there will be a future time when current cryptography is broken. But if you upload to their own server via secure protocols and whatsapp loads images via https (used in the URLs) all that would be decrypted even in decades from now will be URLs hat don't tell anything about the content other than what server they were stored on.

Whatsapp surely ensures it'll not store messages forever, but whoever does for future decryption possibilities is not under control of anybody. Sure, it's just a future issue and by then most of that will not be privacy relevant, anymore. It becomes difficult with multiple parties, obviously. But the other thing you can do is deleting files once they are downloaded.

You already choose usability over security by sending jpegs and not encrypted files that need to be decrypted after they are received. For example add the jpeg of the report to an encrypted zip archive and decrypt that after the whatsapp download on the other side, you don't just rely on Whatsapp protocol safety.

Chriss
 
Oh.. I had clicked it. I didn't knew that.
 
necessito enviar a partir de uma lista que não fazem parte do meu zap, é possível fazer desta forma
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top