Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


MRomer
2020-07-23T17:17:01Z
Using 9.1.5.

I'm creating a job that will run nightly and upload a file to a SharePoint document library. I want to organize the files with folders based on year and month. Is it possible for VisualCron to create the folder(s)? I haven't found a way to do it yet.

+ Mark
Sponsor
Forum information
Support
2020-07-30T11:07:30Z
We do not have Tasks for Creating, Listing and Deleting Sharepoint folders yet. We will notify you when we have that support.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
MRomer
2020-07-30T15:39:55Z
Thank you for your response. I ran into another snag with using only VC tasks for the job. In the SharePoint upload task I could designate a local folder and tell it to upload all files within the folder, including subfolders, but it put all the uploaded files into a single SharePoint folder. I had hoped it would re-create the relative folder tree.

I ended up writing a PowerShell script to handle the file uploads. The Sharepoint PNP library has an Add-PnpFile cmdlet that automatically creates the folders as needed when uploading files, so a file in C:\localfolder\2020\07 can automatically be made to go into <SharePointSite><Library>/2020/07, if I want.
Support
2020-08-04T15:13:07Z
Originally Posted by: MRomer 

Thank you for your response. I ran into another snag with using only VC tasks for the job. In the SharePoint upload task I could designate a local folder and tell it to upload all files within the folder, including subfolders, but it put all the uploaded files into a single SharePoint folder. I had hoped it would re-create the relative folder tree.

I ended up writing a PowerShell script to handle the file uploads. The Sharepoint PNP library has an Add-PnpFile cmdlet that automatically creates the folders as needed when uploading files, so a file in C:\localfolder\2020\07 can automatically be made to go into <SharePointSite><Library>/2020/07, if I want.



Thanks for pointing this out. That will be a feature request though, to create the whole folder tree. I will move this thread to FR
Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
MZable
2022-03-09T22:23:59Z
Is there any plans to get this added? Been 2 years since post to FR.
Michael Fjellström
2022-04-11T12:48:53Z
Originally Posted by: MZable 

Is there any plans to get this added? Been 2 years since post to FR.



Hi,
I just wanted to let you know that we have implemented this in our latest beta. We will be releasing the version officially within the coming days this week.
Scroll to Top