Project

General

Profile

« Previous | Next » 

Revision 1075

Added by Jing Tao over 22 years ago

Add two control for send or accept data file

View differences:

src/edu/ucsb/nceas/metacat/ForceReplicationHandler.java
136 136
                                  action);
137 137
            }
138 138
            //It is data file and configured to handle data replication
139
            else if ((util.getOption("replicationdata")).equals("on"))
139
            else if ((util.getOption("replicationsenddata")).equals("on"))
140 140
            {
141 141
              MetacatReplication.replLog("force data replicating to " + server);
142 142
              comeAndGetIt = new URL("https://" + server + 
......
162 162
                                 "&docid=" + docid);
163 163
          }
164 164
          //It is datafile and metacat is configured to handle data file
165
          else if ((util.getOption("replicationdata")).equals("on"))
165
          else if ((util.getOption("replicationsenddata")).equals("on"))
166 166
          {
167 167
            comeAndGetIt = new URL("https://" + server + 
168 168
                                 "?action=forcereplicatedatafile&server=" + 

Also available in: Unified diff