Forum Index \ DriveHQ Customer Support Forum \
Read/Reply : 17762/5
  • gammad
  • (3 posts)

I'm trying to get DriveHQ WebDAV to work with my app.  Storing files works fine.  But when I try to fetch a file, the HTTP status code is 200, however the fetched file content is "The specified file doesn't exist".  This should be a 404 status code, except for the fact that the file does exist.  I'm at a complete loss as to what is going on.  This app works with 6 other WebDAV providers, just not DriveHQ.

I'm using "https://webdav.drivehq.com" as the server path.  I have tried this for files in the root folder, and also files in subfolders.  The filename is "simple.txt" so it's not an issue with encoding or spaces.


2/9/2023 12:52:01 PM

  • gammad
  • (3 posts)
Subject: Re:WebDav problem - The specified file doesn't exist

A little more information.  This is working:

PUT /simple.txt HTTP/1.1
Authorization: Basic xxxxxxxxxxx
Content-Length: 12

content here

but this is not:

GET /simple.txt HTTP/1.1
Authorization: Basic xxxxxxxxxxxxx


Reply
2/9/2023 1:24:30 PM

  • DriveHQ_Support
  • (640 posts)
Subject: Re:WebDav problem - The specified file doesn't exist

The error message means you used incorrect WebDAV file path (URL path). Please provide the detailed information about how your app connects to our WebDAV server, how it logs in and what URL (path) it uses to access a file. 

The following tutorial video tells how to map a WebDAV drive on Windows without using any 3rd party client software. It uses DriveHQ's WebDAV Server as an example. Please watch it. It can provide some initial information about how to access files via WebDAV. 

https://youtu.be/lO22a85Bwx0

You can also use a Secure WebDAV URL, which is described at: 

https://www.drivehq.com/help/doc/EnterpriseWebDAVSolution/EnterpriseWebDAV-DriveMapping.htm

On Windows and Mac, we offer WebDAV Drive Mapping Tool software. Users just need to install the software to map a cloud drive.

 

 


Reply
2/9/2023 1:25:11 PM

  • DriveHQ_Support
  • (640 posts)
Subject: Re: WebDav problem - The specified file doesnt exist

User: gammad  -  2/9/2023 1:24:30 PM

A little more information.  This is working:

PUT /simple.txt HTTP/1.1
Authorization: Basic xxxxxxxxxxx
Content-Length: 12

content here

but this is not:

GET /simple.txt HTTP/1.1
Authorization: Basic xxxxxxxxxxxxx

As this is a public forum, and messages can be read by anybody on the Internet, I recommend sending an email to DriveHQ support with the detailed information about the issue. We need to know how you logs in to the WebDAV server. 


Reply
2/9/2023 1:29:27 PM

  • DriveHQ_Support
  • (640 posts)
Subject: Re:WebDav problem - The specified file doesn't exist

We have resolved the issue and sent you an email. Please let us know if you have any more issues. 


Reply
2/10/2023 9:46:31 AM

  • gammad
  • (3 posts)
Subject: Re:WebDav problem - The specified file doesn't exist

I can confirm this and a few other issues were resolved.  Your team is really on the ball. Thanks!


Reply
3/30/2023 4:18:11 PM

Quickly Reply

Please logon and reply, Not DriveHQ Member?


Leading Cloud Surveillance service

Leading Enterprise Cloud IT Service Since 2003