Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix #3416.
  • Loading branch information
dkocher committed Nov 3, 2009
1 parent 1af7b18 commit b20e343
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions source/ch/cyberduck/core/UploadTransfer.java
Expand Up @@ -194,6 +194,13 @@ public boolean accept(final Path p) {

@Override
public void prepare(final Path p) {
if(p.exists()) {
if(p.attributes.getPermission() == null) {
if(Preferences.instance().getBoolean("queue.upload.changePermissions")) {
p.readPermission();
}
}
}
if(p.attributes.isFile()) {
p.getStatus().setResume(false);
}
Expand Down

0 comments on commit b20e343

Please sign in to comment.