$http_status = $wdc->put_file( "/backups/" . "test.zip", "test.zip" ); print 'webdav server returns ' . $http_status. "<br/ > \r\n"; $urlToThePublishedFile = $wdc->filePublish( "/backups/test.zip" ); print 'link to the published file: ' . $urlToThePublishedFile. "<br/ > \r\n"; $fileUnpublishinStatus = $wdc->fileUnPublish( "/backups/test.zip" ); if ( $fileUnpublishinStatus ) { echo "File UnPublished correctly <br /> \r\n"; } else { echo "Some errors occured on file UnPublish <br /> \r\n"; } if ( $wdc->get_file( "/soutcast/woman/gogo/2_1.jpg", "1.jpg" ) ) { Echo "returned true <br /> \r\n"; } else { Echo "returned false <br />\r\n"; } if ( $wdc->get_file( "/soutcast/woman/gogo/2_2.jpg", "2.jpg" ) ) { Echo "returned true <br />\r\n"; } else { Echo "returned false <br />\r\n"; }