webDav net_dav gem get problem

I’m using the net_dav gem from https://github.com/devrandom/net_dav and I’m having a problem pulling back files. Basically, I’m able to connect and doing a dav.get(“/”) will return the html of the page, but if I try to get a specific file like dav.get(“/share.txt”) I get a 404 not found error. If I navigate to the same DAV address I connected to using ruby/irb in my web browser I can see the file there plain as day. Is this matter of permissions, or is there something in my usage that’s wrong. Thanks in advance.

dav = Net::DAV.new(“https://website.edu”, :curl => false)

dav.verify_server = false

dav.credentials(‘username’,‘password’)

dav.cd(“dav/12345/”)

dav.get(“/share.txt”)

Error:

Net::HTTPServerException: 404 “Not Found”

from C:/Ruby/lib/ruby/1.8/net/http.rb:2105:in `error!’

from C:/Ruby/lib/ruby/gems/1.8/gems/net_dav-0.5.0/lib/net/dav.rb:173:in `handle_request’

from C:/Ruby/lib/ruby/gems/1.8/gems/net_dav-0.5.0/lib/net/dav.rb:104:in `request_returning_body’

from C:/Ruby/lib/ruby/gems/1.8/gems/net_dav-0.5.0/lib/net/dav.rb:496:in `get’

from (irb):60

from :heart::0