Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asptoday_discuss thread: ADO WebDAV Problem


Message #1 by "Simon Hill" <simon@c...> on Wed, 9 Jan 2002 00:01:48 -0000
Hi all



Does anyone know why the following three lines of code, taken from an MS

example of copying a file from one URL to another using webDAV, returns the

IIS error "Server cannot complete the operation. " on the last line (webDAV

is working on IIS5, having used with the Dreamweaver 4 webDAV client).



I'm at a complete loss.





Set objRecord = Server.CreateObject ("ADODB.Record")



'Open file

objRecord.Open "", "URL=http://localhost/webdav/origin/test.gif"



' Copy the record to a new URL

objRecord.CopyRecord "", "URL=http://localhost/webdav/feux/test.gif", , ,

adCopyOverWrite





Thanks to anyone who will help me.



Simon






  Return to Index