How to upload file to web in microsoft office365 Scope

Hi, everybody
Anybody can help how to upload files to web when use Activity Microsoft Office 365 Scope. It returns me mistake “Compiler error(s) encountered processing expression Directory.GetFiles”.

Hi,

Can you share your exception in details?

Basically, it will be as the following.

Regards,

Thanks for ur answer. I have one question folder “target” located in cloud like SharePoint etc. or locally in ur computer? If my Folder located locally in my machine, can I use the same way as u show in screen?

Hi,

It’s assumed target folder of the above sample exists in cloud (sharepoint online etc).
Find Files and folders activity returns DriveItem instance (or its array) to identify file or folder in Sharepoint/ OneDrive. So we cannot use it for local files.

If it’s mapped in explorer, simply we might be able to use copy file activity.

Regards,

1 Like

@r_Talant

Above @Yoichi approach will satisfy your requirement

If you closely observe the For Each activity it is taking the files from the Directory which is from local machine

Hope this may help you

Thanks

1 Like

@Yoichi Can I learn how u fiiled the properties of activity Find Files or Folder?