Link to home
Start Free TrialLog in
Avatar of Mikal613
Mikal613Flag for United States of America

asked on

Documents Folder in Sharepoint.

I have to upload a document and i need the path where the Documents sit.

Like Http://MysharepointServer/Docs/ 

????

Thank you
ASKER CERTIFIED SOLUTION
Avatar of Robbie_Leggett
Robbie_Leggett
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mikal613

ASKER

What is the url for your sharepoint site?

Once there, navigate to the document library you want to save the doc to and copy the entire url here.
Avatar of LogisticsOne
LogisticsOne

If you are trying to upload a file to a document Library from a location that is not in Sharepoint, you need to use the standard driver letter or computer name format in the 'Browse' dialog box:

c:\my documents\filename.txt
\\server1\shareddrive\filename.txt

If you're trying to upload a file to a document Library from another location that IS in Sharepoint, the format is similar:

\\mysharepointserver\docs\filename.txt
My sharepoint crashed and as soon as i get it up i can test :)
I tried that and when i upload the file to that path it uploads to Sharepoint but you cant see it in any Documents folder. Only if you search for it.
So it appears as if the document uploaded successfully, but now you can't see the file in a sharepoint document library?

A few things:

You shouldn't be able to see it in 'any' document library...only the one you uploaded it to.
If you search for it and find it, what document library is it in?  The one you uploaded it to?
Is this happening for all types of files (.doc,.xls,.ppt) or just a certain kind?
Are there any permissions/filters set up on the document library that would cause you not to see it?

Let me know...thanks!

LOne
when i search it it has a link to the folder i sent it to

ex.
http://MyServer/Personal/Administrator/Shared Documents/

There is no filters and i tested with jpg,txt and doc
It's sending it to your "mysite"

Try using the url of an "actual" doc library that exists on your site.
I did that and nada
Can you tell us the exact steps that you are performing to upload a document?  Be as specific as possible...thanks!
its through a web service. I am uploading the document remotely
Yes, but HOW are you doing it?  I'm kind of stuck until I get more information...
Indeed.

What program are you uploading from?
Word?
Excel?
etc etc

Are you definitely clicking "save" from within the program and then typing the url to the doc lib in the doc name box?

Please provide more information.
Yes that's a link.

So you're using VB to upload the docs?

Can someone change the title of this question so nobody else wastes time?

Bye.
This has nothing to with the Code.  
Well, if you're using the SharePoint web interface to upload the document, it should work fine.  I think that's what we were all led to believe.  You are using code to programatically upload a document, which is a completely different animal.  You specifically asked how to reference a path when uploading a document to sharepoint.  It appears that your question has been answered.  Now you are having a different problem, which would constitue a different question.
I think LOne should have at least half the points but hey ho. I don't really know why I got any????

Bizarre.
Thanks for the kudos, Robbie, but I'm not too worried about the points...I've gotten more than enough answers to my own questions and I try and give back when I can!
I Thought the first post answered to what was asked so if you want to send this to the mods please do.

Mods: Please split points to the above answerers.