Hi Pat,
Could you try to navigate to the right directory on the ftp server and then
call FTP_Receive with only the file name in the filepath.
Something like:
$hostpath without trailing /, like public_html/Anderson/uploads
FTP_ChangeDir(vFTP_ID;$hostpath)
FTP_Receive(vTTP_ID; $atDldFileNames{$i} ;$localFilePath;1)
HTH
Koen
> Op 20 apr. 2018, om 14:39 heeft Pat Bensky via 4D_Tech <[email protected]>
> het volgende geschreven:
>
> $localFilePath:=$localPath+$atDldFileNames{$i} // eg: "Macintosh
> HD:Users:patbensky:clients:Anderson
> Vacations:images:10--MedicineTrailSnow.jpg"
>
> $filepath:=$hostpath+"/"+$atDldFileNames{$i} // eg:
> public_html/Anderson/uploads/10--MedicineTrailSnow.jpg
>
--------------------
Compass bvba
Koen Van Hooreweghe
Kloosterstraat 65
9910 Knesselare
Belgium
tel +32 495 511.653
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************