Re: Extracting a .gz file

2016-10-05 Thread Cannon Smith
You might even try EXPAND BLOB which supports gzip:

http://doc.4d.com/4Dv15R5/4D/15-R5/COMPRESS-BLOB.301-2936996.en.html

I’m just not sure if it will only expand a blob COMPRESS BLOB compressed or if 
it would expand any gzip file you could pull into a blob.

--
Cannon Smith
Synergy Farm Solutions Inc.
Hill Spring, AB Canada
403-626-3236




> On Oct 5, 2016, at 11:21 AM, bob.mil...@parker.com wrote:
> 
> I've not used the .gz archive format before, but I have a situation now 
> where I'm getting data daily in .gz format (also called "gzip") that I 
> need to decompress.  Is there something I can use (4D v15) to "unzip" 
> these files?

**
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: Extracting a .gz file

2016-10-05 Thread Chip Scheide
on Mac, 
my experience is that gzip is opened/extracted by the built-in 
compression/decompression utility.
So an Applescript (or whatever) that opens the document *should* 
decompress it auto-magically.

probably even this will work:
OPEN WEB URL($Path)

Chip

On Wed, 5 Oct 2016 13:21:52 -0400, bob.mil...@parker.com wrote:
> Hello Everyone,
> 
> I've not used the .gz archive format before, but I have a situation now 
> where I'm getting data daily in .gz format (also called "gzip") that I 
> need to decompress.  Is there something I can use (4D v15) to "unzip" 
> these files?
> 
> Is there something I can use with LEP or possibly PHP (which I have not 
> used before)?
> 
> An example would be VERY much appreciated.
> 
> Thank you,
> 
> Bob Miller
> Chomerics, a division of Parker Hannifin Corporation
> 
> 
> 
> **
> 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: 4D Server in the cloud

2016-10-05 Thread Alan Chan
That's great. Many of information I got was decades ago. Laurant told me that 
those commands need to access the server since some users change table/field 
name in a live system. I asked if 4D access local structure resources if it's 
run in compiled.
He replied that it could be done ... etc. I didn't see any doc mentioned about 
that in any new versions .. That's why I wonder if it has been done or ...

Alan Chan

4D iNug Technical <4d_tech@lists.4d.com> writes:
>I'm *sure* those are read from local resources, and most probably many 
>commands from the chapter "Structure Access" too. If you give a try to the 
>functions:
>
>... keep in bed, no sniffer necessary to see it's fast  ;-)

**
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: Extracting a .gz file

2016-10-05 Thread Tai Bui
Hi Bob,

I haven't tried it from 4D myself, but both WinRAR and 7zip can extract gZip 
files and are available from the command line so it should be possible to use 
LEP with them.

Best Regards,
-Tai B.
**
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
**

Extracting a .gz file

2016-10-05 Thread bob . miller
Hello Everyone,

I've not used the .gz archive format before, but I have a situation now 
where I'm getting data daily in .gz format (also called "gzip") that I 
need to decompress.  Is there something I can use (4D v15) to "unzip" 
these files?

Is there something I can use with LEP or possibly PHP (which I have not 
used before)?

An example would be VERY much appreciated.

Thank you,

Bob Miller
Chomerics, a division of Parker Hannifin Corporation



**
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: Document List

2016-10-05 Thread Arnaud de Montard

> Le 3 oct. 2016 à 14:57, Peter Mew  a écrit :
> 
> Thank you Guy
> Spot on
> Im most grateful

Good to check if tables and fields names do not to interfere with 4D langage 
and SQL. See here: 


-- 
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
**

Re: 4D Server in the cloud

2016-10-05 Thread Arnaud de Montard

> Le 2 oct. 2016 à 20:34, Alan Chan  a écrit :
> 
> [...]
> I also asked if Table/field/table name/field name would be sent to server to 
> resolve or just from local resources downloaded during login on compiled 
> version.

Hi Alan, 
I'm *sure* those are read from local resources, and most probably many commands 
from the chapter "Structure Access" too. If you give a try to the functions:

... keep in bed, no sniffer necessary to see it's fast  ;-)

On the opposite, if you try to grab these informations with a SQL query on 
"system table":

... response time are strongly dependent on connection speed (obvious after 
all) 

-- 
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
**

Re: 4D Application

2016-10-05 Thread stardata.info

Thanks

Il 05/10/2016 11:57, Benedict, Tom ha scritto:


Ferdinando asks:

>

>Exist one command that i can to use for understand if i use a stand alone application or a 
server connection?


>

Check out the  Application type  command.

http://www.4d.com/docs/CMU/CMU00494.HTM

I believe that a standalone application would be 0 (4D local mode)

HTH,

Tom Benedict

Optum


This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.



**
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
**