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

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

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