Skip to main content
Level 2
Aug 31, 2021 10:14 AM UTC
Question

Files are still visible through an url

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

Employee
Aug 31, 2021 4:30 PM UTC

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?

Translate
Level 2
Sep 1, 2021 7:30 AM UTC

Hi @duynguyen_adobe,  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

Translate
Employee
Sep 1, 2021 7:41 AM UTC

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') ?

Translate