Revision 28e270f9 src/gr/grnet/pithos/web/client/commands/PasteCommand.java

b/src/gr/grnet/pithos/web/client/commands/PasteCommand.java
137 137
        if (iter.hasNext()) {
138 138
            File file = iter.next();
139 139
            String path = folder.getUri() + "/" + file.getName();
140
            PutRequest copyFile = new PutRequest(app.getApiPath(), folder.getOwnerID(), path) {
140
            PutRequest copyFile = new PutRequest(Pithos.getStorageAPIURL(), folder.getOwnerID(), path) {
141 141
                @Override
142 142
                public void onSuccess(Resource result) {
143 143
                    moveFiles(iter, callback);

Also available in: Unified diff