Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I've got a requirement to import pages and subsequently associated images from a CSV file uplaoded on to the server. This is the only way the content can be put on the site. I can't use CMS Import for insance. The site is a propery site where a csv file full of property details are FTP'd to the site alongside a load of images.
My question really is can I use a scheduled task to run a page to start the process of importing? I've no problem with the code to do the import just the instigation of the process.Would it be better to create a service executable that calls a web service?Just after a bit of advice really.
Think this is possible with CMSImport Pro. You can point to an url, which can be the file you uploaded using FTP. Then you can import the file. And since the 1.1 release if CMSImport images will be picked up also if they can be found in your Umbraco install.
Then you can use the build in scheduler which can execute the import at the given day/time. Since version 1.2 this is more robust. When your site is down for whatever reason(app recycle, long time no visitors etc) at the scheduled time. It will execute when your site is back up.
All is being documented which can be found at http://www.cmsimport.com/documentation.aspx
Hope this helps you a bit and please let me know if you need more info or have additional question.
Thanks Richard I will look into this today. I really struggle to understand the scheduling system in Umbraco. Can't quite figure out how it operates if the admin interface is not open in a browser. Am I being a little naive?
It's operating on a background threat which works when the appilication pool is alive. The CmsImport Scheduled task functionality is build on top of that.
Can CMS import works with FTP file with login credentials?
No it needs an http(s) url.. It can work with login credentials.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted