How to Upload the files from FTP folder to sharepoint folder

Hi @TJamuna ,

  1. Provide the Source Path in Upload
    If you have multiple files in a folder, you can use the “For Each file in folder” activity to iterate through all the files. Here’s a breakdown:
  • Use the “Assign” activity to get the list of files in the folder:

    fileArray = Directory.GetFiles(“C:\YourFolderPath”)

    (Make sure `fileArray` is a variable of type `String[]`.)
    
    
  • Add a “For Each file in folder” activity to loop through the fileArray. Inside the loop:

    • Add an activity like “Upload File”, where you can provide item (the current file in the loop) as the source path.

1 Like