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 "/imagecache/53ee6f6f-3c81-41ae-b001-a5a000baebbc_350x271.jpg" fr_tImageSavePath:=fr_tImagesToDirectory+"53ee6f6f-3c81-41ae-b001-a5a000baebbc_350x271.jpg" // returns "Macintosh HD:Users:patbensky:Desktop:53ee6f6f-3c81-41ae-b001-a5a000baebbc_350x271.jpg" fr_err:=FTP_ChangeDir (vFTP_ID;"/") fr_err:=FTP_Receive (vFTP_ID;fr_tImageToGet;fr_tImageSavePath;1) Doesn't download the file and returns an error -1 If I shorten the name of the file - e.g.: Macintosh HD:Users:patbensky:Desktop:3cac519f-0bff.jpg It downloads the file, no problem. 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? Thanks! Pat -- ************************************************* CatBase - Top Dog in Data Publishing tel: +44 (0) 207 118 7889 w: http://www.catbase.com skype: pat.bensky ************************************************* ********************************************************************** 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:[email protected] **********************************************************************

