We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a92808 commit 5bdef4eCopy full SHA for 5bdef4e
src/org/citybot/ant/AzureBlobFileUpload.java
@@ -101,7 +101,7 @@ public void execute() {
101
File source = new File(ds.getBasedir() + "/" + filename);
102
String blobname = filename.substring(filename.lastIndexOf("/")+1);
103
if(getBlobpath()!=null){
104
- blobname = getBlobpath() + File.pathSeparator + blobname;
+ blobname = getBlobpath() + "/" + blobname;
105
}
106
CloudBlockBlob blobHandle = blobContainer.getBlockBlobReference(blobname);
107
blobHandle.upload(new FileInputStream(source), source.length());
0 commit comments