Could You generate the script file dynamicly?
Something like that (I'll wrote as CLIPPER because I never use FP for DOS, but I think there must be no differencies)
SET PRINTER TO Sctipt.txt
SET PRINT ON
?? "open 10.123.100.1"
? "site"
? "siteaal"
? "cd "+ALLTRIM(m.Directory)
? "pwd"
? "binary"
? "hash"
? "lcd c:\"
? "put CAKIL.DBF"
? "bye"
SET PRINT OFF
SET PRINTER TO
And the execute the FTP
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.