Click here to Skip to main content
13,249,504 members (56,527 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Does anyone know the real absolute pathname for on-line storage at Go Daddy? They won't tell me.

I want to use data files that I will store there in my program and access them from within the program. I don't think the current path that I am using is correct. I've tried: "[^]" and "[^]". Of course I am passing the username and password.

I am testing this using code I downlaoded from Codeproject:

To Upload a file: "How to Upload a File to a WebDAV Server in VB.NET[^]"

And the companion code written by VB Rocks to down-load a file.

When I try uploading, I got a 405 error (method not supported).

When I try to down-load,I get a "file server not found error".
Posted 12-Oct-12 7:28am
Updated 12-Oct-12 7:43am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1


On the server there are always virtual directory where your website is hosted. so nobody will provide you the absolute path of your application(for security reason). what you need to do is, just use relative path from the root directory of your folder. To upload any of the file you can use either database to store or create one temporary directory inside your given area.

Actually i do not have much idea about VB rocks but this is the general scenario. and it may also apply in your case.

Go through some tutorial for relative paths in your language. and best of luck :)
KevinBrady57 12-Oct-12 13:05pm
Thank you for the quick response.

Do you know anything about the 405 error?
@AmitGajjar 13-Oct-12 0:52am
it means you do not have access rights to access that link. see
KevinBrady57 13-Oct-12 14:39pm
The error I am getting is a 405 error (method not allowed) NOT a 403 error. The method I am calling for upload is "Put" I think the pathname is correct, otherwise I would get an error message indicating that the web site could not be found. I am able to manually copy a file to that location using Windows Explorer or from the command line, so I do have write permission to the location. I just can't do it from the program in the Visual Studio environment. There are parameters for the HttpWebRequest method that I am unsure of. If you can provide assistance on these it would be appreiated. Should I specify a port? AllowWriteStreamBuffering = True Is this correct? SendChunked = True Is this correct? Headers.Add("Translate: f") Is this Correct?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.171114.1 | Last Updated 12 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100