Ignore:
Timestamp:
2009-03-09T19:22:54+13:00 (15 years ago)
Author:
ak19
Message:

Base64 encoding the filename that is to be src_replaced or exploded in order to preserve any special characters in the filename when transferring the filename data to the remote greenstone server.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/trunk/src/org/greenstone/gatherer/gui/ExplodeMetadataDatabasePrompt.java

    r18376 r18645  
    4747import org.greenstone.gatherer.collection.ScriptOptions;
    4848import org.greenstone.gatherer.collection.Collection;
     49import org.greenstone.gatherer.feedback.Base64;
    4950import org.greenstone.gatherer.greenstone.LocalGreenstone;
    5051import org.greenstone.gatherer.gui.tree.DragTree;
     
    282283                                                          metadata_file, collection_directory_path);
    283284        command_parts_list.add("-file");
    284         command_parts_list.add(metadata_file_relative_path);
     285        command_parts_list.add(Base64.encodeBytes(metadata_file_relative_path.getBytes()));
    285286
    286287        // When running remotely we also need the collection name as the last argument
Note: See TracChangeset for help on using the changeset viewer.