Skip to content

Commit

Permalink
Creating files is only possible inside a bucket.
Browse files Browse the repository at this point in the history
  • Loading branch information
ylangisc committed Nov 10, 2010
1 parent ded6213 commit bf94844
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions source/ch/cyberduck/core/cf/CFSession.java
Expand Up @@ -182,6 +182,17 @@ public boolean isRenameSupported(Path file) {
return false;
}

/**
* Creating files is only possible inside a bucket.
*
* @param workdir The workdir to create query
* @return False if directory is root.
*/
@Override
public boolean isCreateFileSupported(Path workdir) {
return !workdir.isRoot();
}

/**
* Cache distribution status result.
*/
Expand Down

0 comments on commit bf94844

Please sign in to comment.