[prev in list] [next in list] [prev in thread] [next in thread] 

List:       slide-dev
Subject:    checkUri missing in "put" method in command line tool (patch incl
From:       dirk.verbeeck () the-ecorp ! com
Date:       2001-02-26 12:55:44
[Download RAW message or body]

You can't put a file on the server if you don't specify a full uri.

There is a checkUri missing in the method "private void processCommands(
final WebdavClient client )", the "if( todo.equalsIgnoreCase("put") )"
part.

Dirk


--- Main.java	Mon Feb 26 13:31:46 2001
+++ Main.java	Mon Feb 26 13:34:45 2001
@@ -245,7 +245,7 @@
                     }
                     else
                     {
-                        String dest   = (String)params.pop();
+                        String dest   = checkUri( (String)params.pop() );
                         String toload = (String)params.pop();
                         
                         System.out.println(" file to load " + toload );

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic