Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
How to remotely upload to a document library?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  11 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Rohan Cragg  
View profile  
 More options May 26 2004, 7:15 am
Newsgroups: microsoft.public.sharepoint.windowsservices
From: "Rohan Cragg" <rohancr...@hotmail.com>
Date: 26 May 2004 04:15:26 -0700
Local: Wed, May 26 2004 7:15 am
Subject: How to remotely upload to a document library?
There is an article
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_...)
that explains how to write a web service do this, which I have not yet
been able to get to work!

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.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Maurizio  
View profile  
 More options May 26 2004, 9:16 am
Newsgroups: microsoft.public.sharepoint.windowsservices
From: "Maurizio" <anonym...@discussions.microsoft.com>
Date: Wed, 26 May 2004 06:16:14 -0700
Local: Wed, May 26 2004 9:16 am
Subject: RE: How to remotely upload to a document library?
Hi Rohan,

I think you should try to update the list after the upload ,with Update() command.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Derek Martin  
View profile  
 More options May 26 2004, 11:05 am
Newsgroups: microsoft.public.sharepoint.windowsservices
From: "Derek Martin" <dmj2...@DONTSPAMMEokstate.edu>
Date: Wed, 26 May 2004 10:05:25 -0500
Local: Wed, May 26 2004 11:05 am
Subject: Re: How to remotely upload to a document library?
Why not just use DSPSTS or similar pre-exisiting web services?

Derek

"Rohan Cragg" <rohancr...@hotmail.com> wrote in message

news:c91u8e$l37@odbk17.prod.google.com...
> There is an article

(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_...
_ta/html/ODC_WritingCustomWebServicesforSPPT.asp)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rohan Cragg  
View profile  
 More options May 27 2004, 10:48 am
Newsgroups: microsoft.public.sharepoint.windowsservices
From: "Rohan Cragg" <rohancr...@hotmail.com>
Date: 27 May 2004 07:48:17 -0700
Local: Thurs, May 27 2004 10:48 am
Subject: Re: How to remotely upload to a document library?
Hmmm, I already thought of that. Correct me if I am wrong but none of
the existing methods allow for the upload of a completely new document
into a Document Library (remember I'm not talking about uploading
attachments to existing List items). If did, why would MSDN then post
an article explaining how to write a custom web service to do it. I'll
try the previous suggestion from the anonymous poster and post back
here if it works. Cheers!

Rohan.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Walsh  
View profile  
 More options May 27 2004, 11:15 am
Newsgroups: microsoft.public.sharepoint.windowsservices
From: "Mike Walsh" <englantilai...@hotmail.com>
Date: Thu, 27 May 2004 18:15:10 +0300
Local: Thurs, May 27 2004 11:15 am
Subject: Re: How to remotely upload to a document library?
I'll jump in with something that you'll either say is way off topic or
you'll say it's just what you are looking for.

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" <rohancr...@hotmail.com> wrote in message

news:c94v3h$1sb@odah37.prod.google.com...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Wim Hufkens  
View profile  
 More options May 27 2004, 11:59 am
Newsgroups: microsoft.public.sharepoint.windowsservices
From: "Wim Hufkens" <wim.hufk...@realsoftware.be>
Date: Thu, 27 May 2004 08:59:47 -0700
Local: Thurs, May 27 2004 11:59 am
Subject: Re: How to remotely upload to a document library?
Another idea might be to setup an "e-mail enabled document
library" which is standard SharePoint functionality. Just
have an e-mail with an attachmen sent to a public folder
and the attachment will appear in the document library.

Wim

>-----Original Message-----
>I'll jump in with something that you'll either say is way
off topic or
>you'll say it's just what you are looking for.

>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

completely new document


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rohan Cragg  
View profile  
 More options May 27 2004, 12:22 pm
Newsgroups: microsoft.public.sharepoint.windowsservices
From: "Rohan Cragg" <rohancr...@hotmail.com>
Date: 27 May 2004 09:22:35 -0700
Local: Thurs, May 27 2004 12:22 pm
Subject: Re: How to remotely upload to a document library?
I actually got it to work and I'll blog it as soon as I have a minute.
But in any case that is a superb tip that I'll definitely make use of
even if not in this particular case.

Thanks Mike, you're a star!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rohan Cragg  
View profile  
 More options May 27 2004, 12:24 pm
Newsgroups: microsoft.public.sharepoint.windowsservices
From: "Rohan Cragg" <rohancr...@hotmail.com>
Date: 27 May 2004 09:24:08 -0700
Local: Thurs, May 27 2004 12:24 pm
Subject: Re: How to remotely upload to a document library?
I'd be working with either a SPFolder or list of type = doc library, so
no such method exists on these objects.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rohan Cragg  
View profile  
 More options May 28 2004, 4:32 am
Newsgroups: microsoft.public.sharepoint.windowsservices
From: "Rohan Cragg" <rohancr...@hotmail.com>
Date: 28 May 2004 01:32:04 -0700
Local: Fri, May 28 2004 4:32 am
Subject: Re: How to remotely upload to a document library?
Thanks Mike, I was about to try it but then I realised I don't
understand your instructions. Given that I have a libary at the
location 'http://servername:8099/doclib1' I don't see how
'\\servername\doclib1' could be made to map to that address? the
command:

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...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Walsh  
View profile  
 More options May 28 2004, 5:07 am
Newsgroups: microsoft.public.sharepoint.windowsservices
From: "Mike Walsh" <englantilai...@hotmail.com>
Date: Fri, 28 May 2004 12:07:23 +0300
Local: Fri, May 28 2004 5:07 am
Subject: Re: How to remotely upload to a document library?
It worked for me but only with "normal" addresses - i.e. no %20 in the Doc
lib name (and no :8099 or whatever.

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" <rohancr...@hotmail.com> wrote in message

news:c96te4$v2h@odah37.prod.google.com...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rohan Cragg  
View profile  
 More options May 28 2004, 10:31 am
Newsgroups: microsoft.public.sharepoint.windowsservices
From: "Rohan Cragg" <rohancr...@hotmail.com>
Date: 28 May 2004 07:31:45 -0700
Local: Fri, May 28 2004 10:31 am
Subject: Re: How to remotely upload to a document library?
FIX: The problem was that I was starting off in the root site
'myintranet:8099', and I wanted to access a document library in
'myintranet:8099/sites/it'. Even though I was supplying the GUID it
couldnt find the list from the root web, I had to also tell it to move
up to the 'sites/it' web before it would find it.

[CODE: targetWebsite =
SPControl.GetContextWeb(Context).Webs.Item("sites/IT")]


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google