Recent

Author Topic: Images Transmission  (Read 7352 times)

xinyiman

  • Hero Member
  • *****
  • Posts: 2211
    • Lazarus and Free Pascal italian community
Images Transmission
« on: June 30, 2010, 04:40:36 am »
Suppose I need to send pictures from your computer on the Internet, what is the object that I recommend to use? Possibly platform.

Thanks
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1917
Re: Images Transmission
« Reply #1 on: June 30, 2010, 04:56:25 am »
Use the package lnet or synapse:

http://lnet.wordpress.com/
http://synapse.ararat.cz/doku.php

If you use synapse and the HTTP protocol, then use httpsend:
http://synapse.ararat.cz/doc/help/httpsend.html

xinyiman

  • Hero Member
  • *****
  • Posts: 2211
    • Lazarus and Free Pascal italian community
Re: Images Transmission
« Reply #2 on: June 30, 2010, 05:39:56 am »
In your opinion, what should I use?

If you help me to fix one of them if you have any problems installing?
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1917
Re: Images Transmission
« Reply #3 on: June 30, 2010, 05:56:56 am »
In your opinion, what should I use?
It's up to you and what you want to do. I use Synapse, other people use lNet.

If you help me to fix one of them if you have any problems installing?
I don't understand. They don't need to be fixed afaik and I don't have problems intstalling them (at least synapse, I haven't tried lNet)

You can donload a synapse.lpk here:
http://www.lazarus.freepascal.org/index.php/topic,7089.msg33281.html#msg33281

But Synapse does not have visual components.

xinyiman

  • Hero Member
  • *****
  • Posts: 2211
    • Lazarus and Free Pascal italian community
Re: Images Transmission
« Reply #4 on: June 30, 2010, 06:13:58 am »
Ok, I downloaded synapse, I unzipped. And now I take these units and copy where?
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

xinyiman

  • Hero Member
  • *****
  • Posts: 2211
    • Lazarus and Free Pascal italian community
Re: Images Transmission
« Reply #5 on: June 30, 2010, 06:22:08 am »
With Synapse, you can use sockets directly? If you are a small example of sending a string with socket?
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1917
Re: Images Transmission
« Reply #6 on: June 30, 2010, 06:28:59 am »
Please try to help yourself a bit.
There are demos in the stable release of synapse.
How do you want to send Images?
To a Webserver? via E-mail? FTP? Own protocol?
« Last Edit: June 30, 2010, 06:37:52 am by theo »

xinyiman

  • Hero Member
  • *****
  • Posts: 2211
    • Lazarus and Free Pascal italian community
Re: Images Transmission
« Reply #7 on: June 30, 2010, 06:41:19 am »
Would like me to open any image as a file and send it via socket!
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1917
Re: Images Transmission
« Reply #8 on: June 30, 2010, 06:46:50 am »
Would like me to open any image as a file and send it via socket!

Send where? To a Web-Server? As an e-mail? To an FTP-Server... ?

xinyiman

  • Hero Member
  • *****
  • Posts: 2211
    • Lazarus and Free Pascal italian community
Re: Images Transmission
« Reply #9 on: June 30, 2010, 09:19:20 pm »
I was told that work well with firebird 2.5 data blob to contain images and querying remote! We say that for me is fine to use this! Thanks for your interest and for helping!
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

 

TinyPortal © 2005-2018