Assuming using “With ftp session”; within that activity, use the “For Each” activity.
for Values, use Directory.GetFiles(“c:\Upload”); the foreach object defauts to name “item”
Then, in For Each Body, place “Upload Files” ftp activity, and set “Local Path” to item.ToString
Set the rest as normal.
When executed, the bot will connect to ftp server, then run the for each loop, which will populate the “item” collection with the list of files from "Directory.GetFiles(“C:\Upload”) - the loop the starts, and indexes to the first item, so, item.tostring will equal the full path value of the the first file in the collection, this is what “Upload Files” uses as its input, and uploads that files. The loop then goes to the next file, passes to upload, etc., until the collection is empty.