Hi I want to create a media programatically. So the idea is that I have a folder in my root directory and upon clicking a button the script/api will scan the folder and if there's a file in there it will create a Media entry programatically. Now the reason I do this is that I'm planning to make this a background service and I'm planning to upload a very large file. Uploading it through the backend or frontend will take time but if I can do this at the background it will be great. Now I have a very beginner idea on C# and umbraco. I've been looking for codes to do this but can't find any. Hope someone here can help me. I want it to automatically create media using Umbraco 7. Any idea on how to achieve this? Would appreciate any working sample or URL that leads me to the solution. Thanks again
Auto create media programatically
Hi I want to create a media programatically. So the idea is that I have a folder in my root directory and upon clicking a button the script/api will scan the folder and if there's a file in there it will create a Media entry programatically. Now the reason I do this is that I'm planning to make this a background service and I'm planning to upload a very large file. Uploading it through the backend or frontend will take time but if I can do this at the background it will be great. Now I have a very beginner idea on C# and umbraco. I've been looking for codes to do this but can't find any. Hope someone here can help me. I want it to automatically create media using Umbraco 7. Any idea on how to achieve this? Would appreciate any working sample or URL that leads me to the solution. Thanks again
is working on a reply...