But when using "UpdateListItems" how do I create folders and then add items to that folder?

I can use both SPServices.js and SP.js so I have no other requirement on how to do it, besides I need to be able to do it from Javascript. I'm only assigned the role of Web admin, so I do not have access to PowerShell, ServerSide code or anything like that.

Note: Upper mentioned url is working in SharePoint 2013. For SharePOint 2010, just open the library in IE browser --> click on "upload document" button, --> popup will be opened -->right click on that and click on properties and you will get proper url. It might be just 14 hive change in the URL.

Thanks for the "file" example as well, but its just simple items that I want to add to the specific folder :) Eg: How do I add an item to "Europe" from my example. Remember this needs to work in SP2010. Your references are for later versions of SharePoint :)
– Anders GernerFeb 23 '17 at 10:07

Its super!! :) i'm sorry if I have been unclear. When I say "items" I mean in a custom list. Not a document library. :)
– Anders GernerFeb 23 '17 at 19:48

How can you create folders in the custom list and add items in the custom list?
– Dikesh GandhiFeb 24 '17 at 5:05

yes - Exactly! I'm working with a custom list, which has folders, and in my project, I need to be able to extract all data from that list, then go to another SharePoint site and insert all the same data with the same structure in a new list. I will, of course, create the list on the new site and setup fields :) It works perfectly the way I do it today, with SPServices, but since this list contains folders, it does not work anymore.
– Anders GernerFeb 24 '17 at 6:54