How to upload a file in Sharepoint

I’m using the Sharepoint package created by @Vitalii to connect to a Sharepoint site and it seems that the connection is OK. However, I’m having trouble using LinkPath variable in the Upload activity and although it uploads the file, the string doesn’t seem to return anything.

I have also tried several things listed on the SharePoint thread but can’t get rid of the error.