diff --git a/go_cloud/internal/storage/webdav.go b/go_cloud/internal/storage/webdav.go index 150e90c..755d1aa 100644 --- a/go_cloud/internal/storage/webdav.go +++ b/go_cloud/internal/storage/webdav.go @@ -89,6 +89,8 @@ func (c *WebDAVClient) Upload(ctx context.Context, remotePath string, r io.Reade } full := fmt.Sprintf("%s%s/%s", c.baseURL, u, url.PathEscape(rel)) full = strings.ReplaceAll(full, "%2F", "/") + + fmt.Printf("[WEBDAV-UPLOAD] BaseURL: %s, BasePrefix: %s, RemotePath: %s, Full URL: %s\n", c.baseURL, c.basePrefix, remotePath, full) req, err := http.NewRequestWithContext(ctx, "PUT", full, r) if err != nil {