<< The answer lies in your code :) ICSFTP.LocalFileName := 'C:\Misc\FilesInHostDir.txt'; <--- Whener you do a "Get()", this is the place to look for the downloaded files.>>
So does this change look right: Old code: for i := 0 to Pred(sl.Count) do if IsAWantedFile(sl[i]) then begin ICSFTP.HostFileName := sl[i]; ICSFTP.Get; end; New code: for i := 0 to Pred(sl.Count) do if IsAWantedFile(sl[i]) then begin ICSFTP.HostFileName := sl[i]; ICSFTP.LocalFileName := Format('%s%s', [INBOUND_DIRECTORY, ICSFTP.HostFileName]); ICSFTP.Get; end;
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If the reader of this message is not the intended recipient, you are hereby notified that your access is unauthorized, and any review, dissemination, distribution or copying of this message including any attachments is strictly prohibited. If you are not the intended recipient, please contact the sender and delete the material from any computer.
-- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be