Skip to content

Commit

Permalink
Do not apply versioning when resuming upload.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkocher committed Sep 6, 2023
1 parent 2746b89 commit e8f47e3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ public TransferStatus prepare(final Path file, final Local local, final Transfer
@Override
public void apply(final Path file, final Local local, final TransferStatus status,
final ProgressListener listener) throws BackgroundException {
if(status.isExists()) {
if(status.isExists() && !status.isAppend()) {
if(options.versioning) {
final Versioning feature = session.getFeature(Versioning.class);
if(feature.save(file)) {
Expand Down

0 comments on commit e8f47e3

Please sign in to comment.