The basic idea is that you have to write a Web Service which you
configure to run as a custom web service within WSS, and which uses the
object model. My problem is that it tells me that the file has been
uploaded with no errors, but the file does not appear in the library!
I have put more detail on the source code in my blog if you think you
could help:
http://www.sharepointblogs.com/rcragg/archive/2004/05/25/482.aspx
I realise this can be done manually through a WebDAV connection with
the library in the Windows Explorer GUI or through Microsoft Office
2003, but I wish to create a document scanning interface which will
automatically upload documents without user interaction.
Thanks, Rohan.
I think you should try to update the list after the upload ,with Update() command.
Derek
"Rohan Cragg" <rohan...@hotmail.com> wrote in message
news:c91u8e$l...@odbk17.prod.google.com...
Rohan.
Let's try anyway.
You're scanning on a scanner that's attached to a client workstation and you
then want to send the scanned document to a document library that is located
somewhere else. (wondering how remote remote is and how much it affects the
following).
Provided you have Office 2003 installed on your client, you can specify your
document library as a logical drive on your client.
net use X: \\servername\doclib1 or possibly X: \\servername\doclib1
/user:xxxxx and it asks for the password twice before saying you are OK (own
experience earlier today - I also had problems with doc lib names with
spaces or %20).
Then you just send the scanner output files to X:
Hate it or Love it ?
Mike Walsh, Helsinki, Finland
WSS FAQ at wss.collutions.com
Please post questions to the newsgroup only.
"Rohan Cragg" <rohan...@hotmail.com> wrote in message
news:c94v3h$1...@odah37.prod.google.com...
Wim
>.
>
Thanks Mike, you're a star!
net use x: http://servername:8099/doclib1'
...does not seem to work
But I did realise I could do it another way:
If I have added doclib1 to 'My Network Places' then I discovered that
the path to that folder is actually 'c:\documents and
settings\xxx\nethood\doclib1' and in fact subfolders or sub libraries
can also be addressed by this file path structure:
'c:\documents and settings\xxx\nethood\doclib1\folder1' you still can't
map a drive letter to this though.
Useful stuff! What would be even more useful would be if you could
automatically set entries in 'My Network Places' from Group Policy or
some other such form of central management? If you can do that you can
also then centrally control peoples' default 'Save As' folder in Word
and Excel - now that would be nice...
The method is
access the site and go down to the doc lib - gives you
http://servername/xxx/yyy/doclib1/forms/AllItems.aspx (or similar)
Reversing that and dropping the end gives \\servername\xxx\yyy\doclib as the
thing to use in the net use statement
Mike Walsh, Helsinki, Finland
"Rohan Cragg" <rohan...@hotmail.com> wrote in message
news:c96te4$v...@odah37.prod.google.com...
[CODE: targetWebsite =
SPControl.GetContextWeb(Context).Webs.Item("sites/IT")]
> I have put more detail on the source code in my blog
>
> http://www.sharepointblogs.com/rcragg/archive/2004/05/25/482.aspx