Re: Sending data between 4D servers

2016-09-08 Thread Guy Algot
Randy, Does that require a license for each server?

> On Sep 8, 2016, at 2:54 PM, Randy Engle <4d.l...@xc2.us> wrote:
> 
> Guy,
> 
> Yes, it's old fashioned, but I'm a big fan of using SOAP.
> Works great across a WAN.
> Very reliable.
> Of course the receiving DB needs to be open to Web services.
> 
> Pack the field into a BLOB or JSON object and send 'em!
> Unpack on the other side.
> 
> Randy Engle
> XC2 Software LLC
> 
> -Original Message-
> From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Guy Algot
> Sent: Wednesday, September 07, 2016 11:30 PM
> To: 4D iNug Technical <4d_tech@lists.4d.com>
> Subject: Sending data between 4D servers
> 
> Given v15s current tickle trunk of features, what would be a good way to send 
> data between servers across the WAN?
> 
> In the past, I’ve done it by bundling up the data in a BLOB and dropping it 
> on a secure FTP site. Any better, faster, stronger methods one prefers? 
> Thanks.
> 
> Later,
> Guy
> 
> --
> Guy Algot, Solutions Specialist
> Edmonton, Alberta
> (780) 974-8538
> 
> hardware, installation, training, support, programming, internet specializing 
> in 4th Dimension =-= 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> "Microsoft is a cross between the Borg and the Ferengi. Unfortunately, they 
> use Borg to do their marketing and Ferengi to do their programming."
>-- Simon Slavin
> 
> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
> 
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Sending data between 4D servers

2016-09-08 Thread Randy Engle
Guy,

Yes, it's old fashioned, but I'm a big fan of using SOAP.
Works great across a WAN.
Very reliable.
Of course the receiving DB needs to be open to Web services.

Pack the field into a BLOB or JSON object and send 'em!
Unpack on the other side.

Randy Engle
XC2 Software LLC

-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Guy Algot
Sent: Wednesday, September 07, 2016 11:30 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Subject: Sending data between 4D servers

Given v15s current tickle trunk of features, what would be a good way to send 
data between servers across the WAN?

In the past, I’ve done it by bundling up the data in a BLOB and dropping it on 
a secure FTP site. Any better, faster, stronger methods one prefers? Thanks.

Later,
Guy

--
Guy Algot, Solutions Specialist
Edmonton, Alberta
(780) 974-8538

hardware, installation, training, support, programming, internet specializing 
in 4th Dimension =-= 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"Microsoft is a cross between the Borg and the Ferengi. Unfortunately, they use 
Borg to do their marketing and Ferengi to do their programming."
-- Simon Slavin



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Sending data between 4D servers

2016-09-08 Thread Guy Algot
Hi Kirk,

In this case, it’s specific fields from one database + some pictures. The 
databases are not the same and its not a sync. When a record gets updated, the 
new data is moved (pushed or pulled) to the other server. I expect it to happen 
on a daily basis. The data is fairly small although some of the pictures can be 
a couple of MB.

I’m not a fan of ODBC and one of the computers is a Mac. I’m ok with the 
watched folder idea but I thought there might be something else people were 
using. I had thought about using SQL LOGIN but I’m not sure how it handles 
picture data and it looks like it does not work reliably across versions.


> On Sep 8, 2016, at 7:32 AM, Kirk Brooks  wrote:
> 
> Guy,
> Interesting scenario. A couple of thoughts come to mind.
> What kind of data? Are these two instances of the same database that need
> to sync somehow? If so how fast does it need to happen? Is this a
> 'discussion' with each db sending and receiving or more of 'fyi'? And how
> much data are you looking at?
> 
> I have zero experience with ODBC so no idea if that would be good. I
> suppose you could agree on some obscure ports and use send/receive packet.
> Or use http calls between the two. This would give you a real-time
> connection. If you don't need that I'd go with setting up the 'watched
> folder' idea and some sort of disk file.
> 
> On Wed, Sep 7, 2016 at 11:29 PM, Guy Algot  wrote:
> 
>> Given v15s current tickle trunk of features, what would be a good way to
>> send data between servers across the WAN?
>> 
>> In the past, I’ve done it by bundling up the data in a BLOB and dropping
>> it on a secure FTP site. Any better, faster, stronger methods one prefers?
>> Thanks.
>> 


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Sending data between 4D servers

2016-09-08 Thread Charles Miller
On Thu, Sep 8, 2016 at 2:29 AM, Guy Algot  wrote:

> Given v15s current tickle trunk of features, what would be a good way to
> send data between servers across the WAN?
>
> In the past, I’ve done it by bundling up the data in a BLOB and dropping
> it on a secure FTP site. Any better, faster, stronger methods one prefers?
> Thanks.
>
> Later,
> Guy
>

We use SQL to mover data between different servers running the same
application all of the time.

At San Antonio summit, I demoed a clone utility that will help get you
started.

Hope this helps. If you like I could probably post code to github upon
return from vacation

Regards


Chuck

-- 
-
 Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
 Informed Solutions, Inc.
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D, Sybase & SQL Sever connectivity
  http://www.informed-solutions.com
-
This message and any attached documents contain information which may be
confidential, subject to privilege or exempt from disclosure under
applicable law.  These materials are intended only for the use of the
intended recipient. If you are not the intended recipient of this
transmission, you are hereby notified that any distribution, disclosure,
printing, copying, storage, modification or the taking of any action in
reliance upon this transmission is strictly prohibited.  Delivery of this
message to any person other than the intended recipient shall not
compromise or waive such confidentiality, privilege or exemption
from disclosure as to this communication.
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Sending data between 4D servers

2016-09-08 Thread Kirk Brooks
Guy,
Interesting scenario. A couple of thoughts come to mind.
What kind of data? Are these two instances of the same database that need
to sync somehow? If so how fast does it need to happen? Is this a
'discussion' with each db sending and receiving or more of 'fyi'? And how
much data are you looking at?

I have zero experience with ODBC so no idea if that would be good. I
suppose you could agree on some obscure ports and use send/receive packet.
Or use http calls between the two. This would give you a real-time
connection. If you don't need that I'd go with setting up the 'watched
folder' idea and some sort of disk file.

On Wed, Sep 7, 2016 at 11:29 PM, Guy Algot  wrote:

> Given v15s current tickle trunk of features, what would be a good way to
> send data between servers across the WAN?
>
> In the past, I’ve done it by bundling up the data in a BLOB and dropping
> it on a secure FTP site. Any better, faster, stronger methods one prefers?
> Thanks.
>
> Later,
> Guy
>
> --
> Guy Algot, Solutions Specialist
> Edmonton, Alberta
> (780) 974-8538
>
> hardware, installation, training, support, programming, internet
> specializing in 4th Dimension
> =-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> "Microsoft is a cross between the Borg and the Ferengi. Unfortunately,
> they use Borg to do their marketing and Ferengi to do their programming."
> -- Simon Slavin
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **




-- 
Kirk Brooks
San Francisco, CA
===
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Sending data between 4D servers

2016-09-08 Thread Arnaud de Montard

> Le 8 sept. 2016 à 08:29, Guy Algot  a écrit :
> 
> Given v15s current tickle trunk of features, what would be a good way to send 
> data between servers across the WAN?
> 
> In the past, I’ve done it by bundling up the data in a BLOB and dropping it 
> on a secure FTP site. Any better, faster, stronger methods one prefers? 
> Thanks.

If the source server can connect to the target one, I've made something like 
this last year with SQL. It's hard to say that it will be faster than an 
intermediate text file… Source and target share the same structure?

-- 
Arnaud de Montard 



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**