FTP_receive with long filenames

2017-07-28 Thread Pat Bensky via 4D_Tech
Using v13.5 ... I'm trying to download some files from a client's FTP site. The files have quite long names - e.g.: 53ee6f6f-3c81-41ae-b001-a5a000baebbc_350x271.jpg So here's some test code: fr_tImageToGet:=fr_WebDirectory+"53ee6f6f-3c81-41ae-b001-a5a000baebbc_350x271.jpg" // returns "/imagecach

Re: 4D Forums feature request - keep it the same

2017-07-28 Thread Chip Scheide via 4D_Tech
On Thu, 27 Jul 2017 23:04:49 +, Keisuke Miyako via 4D_Tech wrote: > the forum is also where online services offered as part of the > partner program are available, > such as downloads and discussions of nightly builds, beta/R versions > and source code of 4D internal components / widgets. >

Re: 4D Forums feature request - keep it the same

2017-07-28 Thread Chip Scheide via 4D_Tech
one more thing I just noticed. I the forum has a persistent login. By this I mean, yesterday, I loved into the forums. Closed the browser window (not the browser) today I opened a new browser window (in reference to my previous comment) I was still logged in. THAT is also an issue with the forum

"Inspect Element" in 4D web area

2017-07-28 Thread Jeffrey Kain via 4D_Tech
Is there a way to turn off the "Inspect Element" contextual menu item in a 4D v15 web area (Mac)? The "Context Menu" property doesn't seem to do anything. Thanks... ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/f

Re: "Inspect Element" in 4D web area

2017-07-28 Thread Kirk Brooks via 4D_Tech
Jeff, Web area set preference is what you want - http://doc.4d.com/4Dv16R4/4D/16-R4/WA-SET-PREFERENCE.301-3317027.en.html On Fri, Jul 28, 2017 at 8:12 AM, Jeffrey Kain via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Is there a way to turn off the "Inspect Element" contextual menu item in a > 4D v1

Re: "Inspect Element" in 4D web area

2017-07-28 Thread Jeffrey Kain via 4D_Tech
Perfect - thanks! -- Jeffrey Kain jeffrey.k...@gmail.com > On Jul 28, 2017, at 11:15 AM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Jeff, > Web area set preference is what you want - > http://doc.4d.com/4Dv16R4/4D/16-R4/WA-SET-PREFERENCE.301-3317027.en.html ***

Re: zipping files

2017-07-28 Thread Bart Davis via 4D_Tech
This method works great on Mac without using any plugin. I'm not sure if it can be tweaked to work on Windows. //zipFolderItem(sourcePath{;archivePath)->archivePath // -- zip file or folder. If success returns archivePath C_TEXT($0;$1;$2;$cmd;$sourcePath;$archivePath) C_LONGINT($ctr) C_B

Re: Zipping files

2017-07-28 Thread Aaron via 4D_Tech
Hi Have you considered this for zipping files? C_TEXT($command;$input;$output;$args;$err) $command:="zip /users/aaron/documents/log.zip /users/aaron/documents/log.txt" LAUNCH EXTERNAL PROCESS($command;$input;$output;$err) on windows you could install 7zip, and use that > On Jul 28, 2017, at 10:1

RE: FTP_receive with long filenames

2017-07-28 Thread Timothy Penner via 4D_Tech
Hi Pat, > I can work around it by downloading with a temporary (short) name and then > renaming it, but why? Are filenames referenced in FTP_Receive limited to 32 > characters? I thought the limit was 63 characters on Mac 32 bit up until and including v16.x: http://livedoc.4d.com/4D-Internet-C

Can 4D Objects create memory leaks?

2017-07-28 Thread Tony Ringsmuth via 4D_Tech
>v16 Is it possible to create memory leaks using 4D Objects? If so, how? (I’m wanting to make sure that I’m NOT creating leaks) TIA, -- Tony Ringsmuth Business Brothers Inc. 763-420-8686 ** 4D Internet Users Gr

Re: Can 4D Objects create memory leaks?

2017-07-28 Thread Douglas von Roeder via 4D_Tech
Tony: It's a variable that respects 4D scoping rules so that should not happen. That's one of the features of C_Object vs ObjectTools — also, you can see what's in the Object vs having to use a separate editor window. -- Douglas von Roeder 949-336-2902 On Fri, Jul 28, 2017 at 11:53 AM, Tony Rin

Re: Can 4D Objects create memory leaks?

2017-07-28 Thread Chip Scheide via 4D_Tech
Tony, I do not use c_object - however... since they are passed by reference, i would think that it would be possible to create object(s) in long lasting process (run time), which unless explicitly disposed of (not sure how you do that - clear contents?) would hang around until the client (or se

Re: FTP_receive with long filenames

2017-07-28 Thread Pat Bensky via 4D_Tech
Hi Tim, I did a test using v16r4 beta and it worked OK with the long filename. So that's good :) I did notice however that although I passed the 1 parameter in FTP_Receive fr_err:=*FTP_Receive* (vFTP_ID;fr_tImageToGet;fr_tImageSavePath;1) ... it did NOT display a progress message, even when I us

4D Blog posts about New Features in v16R4

2017-07-28 Thread Timothy Penner via 4D_Tech
Hi All, New blog posts presenting 4D v16 R4 features have been getting published at a rapid pace! Here is a list of blog posts from this week: * Finely control your tips in 4D http://blog.4d.com/finely-control-tips-in-4d/ * Retrieve the license information by programming http://blog.4d.com/ret

RE: FTP_receive with long filenames

2017-07-28 Thread Timothy Penner via 4D_Tech
Hi Pat, > ... it did NOT display a progress message, even when I used a bogus filename > to make it wait 30 seconds before timing out. Bug? I assume you are using 64 bit. If so, then no, it's not a bug: http://livedoc.4d.com/4Dv15/help/Title/en/page3838.html { Unsupported interface features Wit

Re: 4D Blog posts about New Features in v16R4

2017-07-28 Thread David Adams via 4D_Tech
Tim, Thanks a *lot* for posting a message about the latest Blog posts. I really like the Blog but forget to visit it regularly. For anyone on this list that hasn't checked out the 4D Blog yet (or lately), check it out. It's really nice technical/marketing material. Good quick introductions to feat