Recent

Author Topic: Sending Lazarus applications via the Internet.  (Read 5549 times)

oproescu

  • New Member
  • *
  • Posts: 48
Sending Lazarus applications via the Internet.
« on: February 20, 2021, 08:37:08 pm »
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

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4689
  • I like bugs.
Re: Sending Lazarus applications via the Internet.
« Reply #1 on: February 20, 2021, 08:57:48 pm »
How 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.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

MarkMLl

  • Hero Member
  • *****
  • Posts: 8546
Re: Sending Lazarus applications via the Internet.
« Reply #2 on: February 20, 2021, 09:08:53 pm »
I presume that you're talking about built binaries rather than source.

How 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
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2032
  • Former Delphi 1-7, 10.2 user
Re: Sending Lazarus applications via the Internet.
« Reply #3 on: February 21, 2021, 01:13:18 am »
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

  • Hero Member
  • *****
  • Posts: 3723
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Sending Lazarus applications via the Internet.
« Reply #4 on: February 21, 2021, 05:17:58 am »
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
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

avk

  • Hero Member
  • *****
  • Posts: 825
Re: Sending Lazarus applications via the Internet.
« Reply #5 on: February 21, 2021, 05:30:27 am »
It is possible, for example, to encode the binary as Base64 or Hex and then compress it.
It turns out pretty compact.

dsiders

  • Hero Member
  • *****
  • Posts: 1546
Re: Sending Lazarus applications via the Internet.
« Reply #6 on: February 21, 2021, 08:43:12 am »
I 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

  • Hero Member
  • *****
  • Posts: 8546
Re: Sending Lazarus applications via the Internet.
« Reply #7 on: February 21, 2021, 10:02:30 am »
Then 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
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

oproescu

  • New Member
  • *
  • Posts: 48
Re: Sending Lazarus applications via the Internet.
« Reply #8 on: February 21, 2021, 10:21:52 am »
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

  • New Member
  • *
  • Posts: 48
Re: Sending Lazarus applications via the Internet.
« Reply #9 on: February 21, 2021, 10:30:12 am »
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

  • Hero Member
  • *****
  • Posts: 5524
  • My goal: build my own game engine using Lazarus
Re: Sending Lazarus applications via the Internet.
« Reply #10 on: February 21, 2021, 11:01:17 am »
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

  • Hero Member
  • *****
  • Posts: 8546
Re: Sending Lazarus applications via the Internet.
« Reply #11 on: February 21, 2021, 11:09:10 am »
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.

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
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

dbannon

  • Hero Member
  • *****
  • Posts: 3723
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Sending Lazarus applications via the Internet.
« Reply #12 on: February 21, 2021, 12:29:32 pm »
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.   :D

Davo

Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

korba812

  • Sr. Member
  • ****
  • Posts: 483
Re: Sending Lazarus applications via the Internet.
« Reply #13 on: February 21, 2021, 12:56:16 pm »
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.   :D

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.
« Last Edit: February 21, 2021, 01:05:41 pm by korba812 »

PascalDragon

  • Hero Member
  • *****
  • Posts: 6349
  • Compiler Developer
Re: Sending Lazarus applications via the Internet.
« Reply #14 on: February 21, 2021, 03:56:05 pm »
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. ;)

 

TinyPortal © 2005-2018