Hi guys I need a little guidence with a process I am developing.
The process involves uploading documents from a file system to a Sharepoint document library. The Documents are saved into to the file system folder automatically and these are then to be uploaded to a sharepoint library - this bit is straight forward.
However a couple of questions
a) how can I delete the document from the file system after a successful upload.
b) how would I handle errors such as Invalid Characters in the filename (sharepoint doesn't support the same as widnows eg. &) or a file size larger than the max allowed.
I've created the basic process in VS2005 using the Sharepoint Documents Event Wizard
Also is it possible to recreate a folder tree if one exists and place the documents in the respective folder ?
Thanks in advance
David
MOSS2007, K2 BlackPearl