Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file in directory displayed in wrong way #215

Open
iricigor opened this issue Oct 20, 2020 · 1 comment
Open

file in directory displayed in wrong way #215

iricigor opened this issue Oct 20, 2020 · 1 comment
Labels
bug Something isn't working Storage commands related to blobs

Comments

@iricigor
Copy link
Contributor

iricigor commented Oct 20, 2020

File name is displayed as c%2Ftse instead of c/tse

$ cat Upload/
a  b  c/ d  
$ cat Upload/a 
Echooooo
c
$ cat Upload/b 
Achooooj
$ cat Upload/c/tse 
Je moucha
$ cat Upload/d 
d
$ time ./azmi setblobs --container https://x.blob.core.windows.net/y --directory ./Upload/ --force
Success 'https://x.blob.core.windows.net/y/a'
Success 'https://x.blob.core.windows.net/y/b'
Success 'https://x.blob.core.windows.net/y/d'
Success 'https://x.blob.core.windows.net/y/c%2Ftse' <-- btw note this encoding
@iricigor
Copy link
Contributor Author

Add also test case for this as variant of this test:

mkdir -p "$UPLOAD_DIR/subdirectory" && echo "$DATE2" > "$UPLOAD_DIR/subdirectory/file3.txt"
test "setblobs OK with subdirectory" assert.Equals "azmi setblobs -d $UPLOAD_DIR -c $CONTAINER_RW --force | wc -l" 3

@iricigor iricigor added bug Something isn't working Storage commands related to blobs labels Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Storage commands related to blobs
Projects
None yet
Development

No branches or pull requests

1 participant