Project

General

Profile

« Previous | Next » 

Revision 1076

Added by Jing Tao over 22 years ago

Add control to send data or not

View differences:

src/edu/ucsb/nceas/metacat/MetaCatServlet.java
1729 1729
              dataDirectory.mkdirs();
1730 1730
              File newFile = new File(dataDirectory, docid);
1731 1731
              long size = filePart.writeTo(newFile);
1732
              if ((util.getOption("replicationdata")).equals("on"))
1732
              if ((util.getOption("replicationsenddata")).equals("on"))
1733 1733
              {
1734 1734
                // force replcation data file if metacat was configured
1735 1735
                if (ReplicationHandler.getServerLocation(docid)==1)

Also available in: Unified diff