Sending Lazarus applications via the Internet. lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- oproescu · 2021-02-20 19:37 Hi! How can be sent a Lazarus application over internet networks such as gmail? Archived or with the extension changed is not possible for me. Thanks! ---------------------------------------------------------------------- JuhaManninen · 2021-02-20 19:57 Quote from: oproescu on February 20, 2021, 08:37:08 pmHow can be sent a Lazarus application over internet networks such as gmail? Archived or with the extension changed is not possible for me. Why is archiving to a compressed package not possible? I would suggest archiving all source code to a .zip or .tar.gz or similar file. Then recipients can build from sources on their own platform. ---------------------------------------------------------------------- MarkMLl · 2021-02-20 20:08 I presume that you're talking about built binaries rather than source. Quote from: oproescu on February 20, 2021, 08:37:08 pmHow can be sent a Lazarus application over internet networks such as gmail? Archived or with the extension changed is not possible for me. You need to give us far more information. * What operating systems are you and your associates using? * Why are archives (tarballs etc.) not possible? MarkMLl ---------------------------------------------------------------------- trev · 2021-02-21 00:13 If it's the usual mail system rejection of binaries whether zipped or not, then I only send a URL via email and let the enduser download the archive from one of my webservers (you could also use dropbox, iCloud, OneDrive, Google Drive or another third party storage provider). ---------------------------------------------------------------------- dbannon · 2021-02-21 04:17 I routinely email zipped binaries to willing beta testers, have not had a problem yet. With windows users, its best to tell them to unzip (happens automatically in the file manager) AND then drag the binary onto, eg, their desktop. That is, don't try to run it from within the zip file. Some corporate email systems will scan attached zip files looking for (potentially nasty) binaries inside and block them just in case. And who can blame them ? Davo ---------------------------------------------------------------------- avk · 2021-02-21 04:30 It is possible, for example, to encode the binary as Base64 or Hex and then compress it. It turns out pretty compact. ---------------------------------------------------------------------- dsiders · 2021-02-21 07:43 Quote from: dbannon on February 21, 2021, 05:17:58 amI routinely email zipped binaries to willing beta testers, have not had a problem yet. Then you have never sent them to a GMail email address . They won't transmit it. Perils of using free services. ---------------------------------------------------------------------- MarkMLl · 2021-02-21 09:02 Quote from: dsiders on February 21, 2021, 08:43:12 amThen you have never sent them to a GMail email address . They won't transmit it. Perils of using free services. I've never seen a problem, and I think we should be waiting for more info from RP rather than drowning his thread with comments that might be irrelevant. MarkMLl ---------------------------------------------------------------------- oproescu · 2021-02-21 09:21 Thanks MarkMLI, I'm using WINDOWS 10 on a Core'I5 computer. I can archive the application file (exe), but it is not supported by gmail or similar. I can still send with engines like WeTransfer, but not many recipients know how to download files from such an engine. I'm interested in a direct shipping method. ---------------------------------------------------------------------- oproescu · 2021-02-21 09:30 Thank trev! I used https://www.filehosting.org/ but not all my beneficiaries know how to work with such platforms and that's why I wanted to know if it is possible and directly on gmail. ---------------------------------------------------------------------- Handoko · 2021-02-21 10:01 I am not sure but if I remember correctly. My email ever blocked by a mail server, the email had a zip file that contains an executable binary. I just recompressed the file and added a password, problem solved. ---------------------------------------------------------------------- MarkMLl · 2021-02-21 10:09 Quote from: oproescu on February 21, 2021, 10:21:52 amThanks MarkMLI, I'm using WINDOWS 10 on a Core'I5 computer. I can archive the application file (exe), but it is not supported by gmail or similar. I can still send with engines like WeTransfer, but not many recipients know how to download files from such an engine. I'm interested in a direct shipping method. In that case I can't add a great deal to what other people have said: if you want a reliable email system don't rely on a freebie that can be discontinued or have its T&C changed with minimal warning. MarkMLl ---------------------------------------------------------------------- dbannon · 2021-02-21 11:29 Yep, thats right !  I just tried to send a zipped windows exe and a password protected exe and both were blocked.  But a less worrying zipped file, a Spanish translation for my app, went through OK. So, they can tell if its an executable even if password protected ? Wow. So, I tried sending a linux executable and that went through OK too, so they don't seem to think Linux users need to be protected as much as windows users :-) oproescu, I suggest you and your end users all switch to Linux as soon as possible.  Davo ---------------------------------------------------------------------- korba812 · 2021-02-21 11:56 Quote from: dbannon on February 21, 2021, 12:29:32 pmYep, thats right !  I just tried to send a zipped windows exe and a password protected exe and both were blocked.  But a less worrying zipped file, a Spanish translation for my app, went through OK. So, they can tell if its an executable even if password protected ? Wow. So, I tried sending a linux executable and that went through OK too, so they don't seem to think Linux users need to be protected as much as windows users :-) oproescu, I suggest you and your end users all switch to Linux as soon as possible.  Davo Files are recognized and blocked by extension. ZIP format keeps original file names even with encryption. Try to compress exe file into 7zip with encrypted filenames. edit I just checked. Encrypted 7zip is also rejected by gmail. Probably because google can't look inside the archive. ---------------------------------------------------------------------- PascalDragon · 2021-02-21 14:56 I usually use 7z to compress binaries and then change the second byte of the file from "z" to "y" so that Google's servers don't recognize it as a 7z anymore. ---------------------------------------------------------------------- MarkMLl · 2021-02-21 15:03 Quote from: PascalDragon on February 21, 2021, 03:56:05 pmI usually use 7z to compress binaries and then change the second byte of the file from "z" to "y" so that Google's servers don't recognize it as a 7z anymore. Correct me if I'm wrong, but don't Google's servers read this forum? MarkMLl ---------------------------------------------------------------------- oproescu · 2021-02-21 17:00 Thanks to everyone for the information. But I can't put them into practice because I send executable files to beneficiaries who aren't used to complicated things and who don't know how to use anything other than regular WINDOWS and archives. These beneficiaries just want to download and execute them immediately after unzipping. Closed topic. ---------------------------------------------------------------------- Paolo · 2021-02-21 18:03 the same here, I cannot download a file sent by me years ago !!! Google blocks all these .ade, .adp, .apk, .appx, .appxbundle, .bat, .cab, .chm, .cmd, .com, .cpl, .dll, .dmg, .ex, .ex_, .exe, .hta, .ins, .isp, .iso, .jar, .js, .jse, .lib, .lnk, .mde, .msc, .msi, .msix, .msixbundle, .msp, .mst, .nsh, .pif, .ps1, .scr, .sct, .shb, .sys, .vb, .vbe, .vbs, .vxd, .wsc, .wsf, .wsh Google decides waht you can and what  you cannot... ---------------------------------------------------------------------- cdavidson · 2021-02-21 20:21 I send to customers all the time using the following method and have had no problems. 1. Zip the files you're sending (or executable(s)) to a (.7z).  Under 'Encryption' enter a password.  Be sure that the [Encrypt File Names] option is checked. 2. Use 7z to Zip the created (.7z) file to a (.ZIP) file. 3. Be sure to give the customer the password when you send the ZIP file.  They unzip the ZIP and then unzip the 7Z with the password. So far, this has got past Googles scanners (gmail) and Microsoft's email systems that I've worked with. ---------------------------------------------------------------------- PascalDragon · 2021-02-22 08:36 Quote from: oproescu on February 21, 2021, 06:00:57 pmThanks to everyone for the information. But I can't put them into practice because I send executable files to beneficiaries who aren't used to complicated things and who don't know how to use anything other than regular WINDOWS and archives. These beneficiaries just want to download and execute them immediately after unzipping. Closed topic. Then best provide them a download link to some webspace you control. ---------------------------------------------------------------------- MarkMLl · 2021-02-22 08:57 Quote from: PascalDragon on February 22, 2021, 09:36:56 amQuote from: oproescu on February 21, 2021, 06:00:57 pmThanks to everyone for the information. But I can't put them into practice because I send executable files to beneficiaries who aren't used to complicated things and who don't know how to use anything other than regular WINDOWS and archives. These beneficiaries just want to download and execute them immediately after unzipping. Closed topic. Then best provide them a download link to some webspace you control. Or recognise the business opportunity and sell them a managed email service. MarkMLl ---------------------------------------------------------------------- Handoko · 2021-02-22 09:18 Quote from: MarkMLl on February 22, 2021, 09:57:54 amQuote from: PascalDragon on February 22, 2021, 09:36:56 amThen best provide them a download link to some webspace you control. Or recognise the business opportunity and sell them a managed email service. MarkMLl Yes, those were good suggestions. A good but cheap webhosting service is less than $50 per year, and that usually already has email feature. A reseller hosting service, costs a bit more but it's worth it.