Ignore:
Timestamp:
2005-08-15T16:59:44+12:00 (19 years ago)
Author:
mdewsnip
Message:

Changed the names of some functions in RemoteGreenstoneServer and made almost all of the functions take the collection name as an argument (needed for authentication).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java

    r10460 r10511  
    721721        // If we're using a remote Greenstone server, upload the metadata file
    722722        if (Gatherer.isGsdlRemote) {
    723             RemoteGreenstoneServer.uploadCollectionFile(metadata_set_file);
     723            RemoteGreenstoneServer.uploadCollectionFile(collection.getName(), metadata_set_file);
    724724        }
    725725        }
     
    11091109        if (Gatherer.isGsdlRemote) {
    11101110        String relative_metadata_set_file_path = RemoteGreenstoneServer.getPathRelativeToDirectory(metadata_set_file.getAbsolutePath(), Gatherer.getGLIUserDirectoryPath());
    1111         RemoteGreenstoneServer.sendDeleteFileCommand(relative_metadata_set_file_path);
     1111        RemoteGreenstoneServer.deleteCollectionFile(collection.getName(), relative_metadata_set_file_path);
    11121112        }
    11131113    }
Note: See TracChangeset for help on using the changeset viewer.