Changeset 10511
- Timestamp:
- 2005-08-15T16:59:44+12:00 (19 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/GeneralManager.java
r10374 r10511 506 506 // If we're using a remote Greenstone server, upload the image 507 507 if (Gatherer.isGsdlRemote) { 508 RemoteGreenstoneServer.uploadCollectionFile( collection_image_file);508 RemoteGreenstoneServer.uploadCollectionFile(Gatherer.c_man.getCollection().getName(), collection_image_file); 509 509 } 510 510 } -
trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java
r10460 r10511 721 721 // If we're using a remote Greenstone server, upload the metadata file 722 722 if (Gatherer.isGsdlRemote) { 723 RemoteGreenstoneServer.uploadCollectionFile( metadata_set_file);723 RemoteGreenstoneServer.uploadCollectionFile(collection.getName(), metadata_set_file); 724 724 } 725 725 } … … 1109 1109 if (Gatherer.isGsdlRemote) { 1110 1110 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); 1112 1112 } 1113 1113 } -
trunk/gli/src/org/greenstone/gatherer/file/FileManager.java
r10376 r10511 149 149 // ... but only if it is inside the collection and we haven't already downloaded it 150 150 if (file.getAbsolutePath().startsWith(Gatherer.getCollectDirectoryPath()) && file.length() == 0) { 151 RemoteGreenstoneServer.downloadCollectionFile( file);151 RemoteGreenstoneServer.downloadCollectionFile(Gatherer.c_man.getCollection().getName(), file); 152 152 } 153 153 } -
trunk/gli/src/org/greenstone/gatherer/metadata/MetadataXMLFileManager.java
r10480 r10511 384 384 385 385 // Upload the files modified since last time, then reset the list 386 RemoteGreenstoneServer.uploadCollectionFiles( (File[]) modified_metadata_xml_files.toArray(new File[0]));386 RemoteGreenstoneServer.uploadCollectionFiles(Gatherer.c_man.getCollection().getName(), (File[]) modified_metadata_xml_files.toArray(new File[0])); 387 387 modified_metadata_xml_files.clear(); 388 388 }
Note:
See TracChangeset
for help on using the changeset viewer.