Skip to main content
Question

Upload entire folder from local PC to Flow Shared resources, via server app

  • October 16, 2023
  • 1 reply
  • 70 views

sam_appleton
Contributor
Forum|alt.badge.img+7

Hi,

 

Is it possible to upload an entire folder from a local PC to Flow Shared resources, via server/automation app? I know that single files are able to be uploaded, but I was hoping my workflow would go like this:

 

  1. User uploads file via web app. It is stored in Shared resources
  2. Separate workbench uses a Path reader on the file, gets all .shp files and performs ETL

I can't see any other way to do it, other than the user having to upload 20 different shape files via the app interface.

 

I get this warning when using FME copy writer, with s published parameter of 'filecopy_source_dataset':

File Copy Writer: Feature contains an invalid source dataset 'C:\\Users\\myuser\\Documents\\Development\\FME\\UPLOADFOLDER'. No file operations will be performed for this feature

 

Many thanks,

 

Sam

1 reply

hkingsbury
Celebrity
Forum|alt.badge.img+67
  • Celebrity
  • October 16, 2023

You could do it, but you would need to build a process to upload file by file and create any required folders/directories.

 

The easier way would be to copy the files at the operating system level (easy with windows) but of course this is assuming you have access to the machine/directories that FME Flow is using for its shared resources