[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PhillyOnRails] Need help connecting to WEBDAV
|
Thanks -- this looks very cool, particularly the prospect of being able
to Put and Move stuff. For the moment, I have made a proxy with curl,
and that works perfectly for Get operations. I do want to get he entire
interface working two-way, so I will investigate NET:HTTP.
Walter
On Mar 10, 2007, at 11:25 AM, Freedom Dumlao wrote:
Well, I've never used it, but Ruby's core NET::HTTP class supports
some WEBDAV methods.
Net::HTTPRequest
Net::HTTP::Get
Net::HTTP::Head
Net::HTTP::Post
Net::HTTP::Put
Net::HTTP::Proppatch
Net::HTTP::Lock
Net::HTTP::Unlock
Net::HTTP::Options
Net::HTTP::Propfind
Net::HTTP::Delete
Net::HTTP::Move
Net::HTTP::Copy
Net::HTTP::Mkcol
Net::HTTP::Trace
You could try those.
Net:HTTP's WebDAV support is barely (maybe not at all) documented, but
as you can see
from the methods listed it is there.
Look here for more info:
http://www.ruby-doc.org/core/classes/Net/HTTP.html
Freedom
On Mar 10, 2007, at 10:54 AM, Walter Lee Davis wrote:
Yes, and I am. To be fair, the libraries I am using are pretty
cryptic PHP classes. The error messages are poorly written, and when
I turn on the logging feature, nothing gets written to the TD error
log or even the access log (I see that the PHP script was requested,
but no detail about what's happening inside of that request).
Walter
On Mar 10, 2007, at 10:29 AM, Aaron Blohowiak wrote:
Does this mean TxD's WebDAV is not playing nice with your libs?
Perhaps you should ask them for pointers.
Aaron Blohowiak
When a request is made for a file from the Web front-end, I need
to map that file request to the WEBDAV repository, silently
replacing a local file request with an authenticated WEBDAV GET.
My application can deal with the rest of the job -- it's just
this little bit, which looks like it should be so easy, and is
stubbornly NOT._______________________________________________
To unsubscribe or change your settings, visit:
http://lists.phillyonrails.org/mailman/listinfo/talk
_______________________________________________
To unsubscribe or change your settings, visit:
http://lists.phillyonrails.org/mailman/listinfo/talk
_______________________________________________
To unsubscribe or change your settings, visit:
http://lists.phillyonrails.org/mailman/listinfo/talk
_______________________________________________
To unsubscribe or change your settings, visit:
http://lists.phillyonrails.org/mailman/listinfo/talk
|
|