This project has moved. For the latest updates, please go here.

SPServices and jQuery to Upload Document Into Document Library

Jul 17, 2012 at 9:14 PM
Edited Jul 17, 2012 at 9:15 PM

Hello. I am a beginner with this so I am not sure if this is even possible, but I have to ask. Is there a way I can use SPServices and perhaps some jQuery (through ECMA COM CEWP style fashion, not VS .NET Managed) to upload a file to a document library?

Why you ask. I am really wondering if there is some way to extend the above to allow me to point to a folder, loop through the contents of that folder and use the above concept to upload documents one at a time. Sort of a home baked migration tool (though I have no misconceptions that this would likely only handle small groups of files at a time if even possible).

This is weird I know; SP has upload forms and multiple file upload capability built in. I am just wondering if this is possible and how you would go about writing something like this if so.

Thanks as always!