Options I see are:

1. Report as a bug and hope for a fix. Since it is a beta version, maybe your 
chances are better?

2. Parse the output strings for non-ascii characters and try to correct them. I 
have not tried it, but it might be possible using Convert to text/CONVERT FROM 
TEXT.

3. Use something else. I ended up using CURL to deal with servers were 
FTP_GetDirList did not work correctly.

John DeSoi, Ph.D.

> On Jul 27, 2018, at 6:21 AM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> using v17r2:
> 
> I get a list of files in a directory on a remote server with
> *FTP_GetDirList.*
> Then I loop through the list and download each file, if I don't already
> have the latest version of it.
> A problem occurs when a filename contains a character such as a quote mark,
> copyright symbol, etc. Whilst these filenames look correct when viewed via
> an ftp program such as FileZilla, I get an error when trying to download
> them because it doesn't like those codes - e.g.
> 
> 250-Bay Bulls 2-Gatherall’s Puffin & Whale Watch Cruise.jpg.
> 
> instead of
> 250-Bay Bulls 2-Gatherall's Puffin & Whale Watch Cruise.jpg.
> How to deal with this?

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

Reply via email to