활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
Hi,
I am trying to delete few files which are stored on azure blob store and files are getting deleted as per response.
sample of code: await files.delete('publicxyz/publicfile.txt')
But post deletion still I can preview those files data through an url which was provided from IO.
토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.
조회 수
답글
좋아요 수
Hi @Naveen_Srinivas - which URL are you referring to? presigned URL (containing token to a private file) or direct URL to the public file?
Was the file not deleted at all or was it a latency after the deletion until the URL returned a 404?
조회 수
답글
좋아요 수
Hi @duypnguyen, its direct URL to the public file.
File are deleted as per below logs but when I refresh or open public url still I can see data.
error: [FilesLib:ERROR_FILE_NOT_EXISTS] file `public%2FviberResponse01FDYHHS3M4CDV1NMWB7Q4174W.txt` does not exist
Thanks
Naveen
조회 수
답글
좋아요 수
It says that you are trying to delete a non-existing file.
What's the string that you put here: await files.delete('publicxyz/publicfile.txt') ?
조회 수
답글
좋아요 수
Hi @duypnguyen
I got it, was using filename from url(which is encoded) instead of actual file name. Now am not able to see url. Thanks for the quick response.
조회 수
답글
좋아요 수
Great. I'm glad it worked!
조회 수
답글
좋아요 수