What is the difference between "Are you sure to xxx?" and "Do you sure to xxx?"

What is the difference between "Are you sure to xxx?" and "Do you sure to xxx?"

I am writing an app that requires to ask the user to confirm some actions.

E.g. I want to confirm the user whether to delete a file, Should I use "Are you sure to delete this file?" or "Do you sure to delete this file?

I am not sure which one is better.


What is the difference between "Are you sure to xxx?" and "Do you sure to xxx?"

Both don't really make much sense. "Do you sure to ..." is simply incorrect, whereas you can say "be sure to do something", meaning "don't forget to do it" (e.g. be sure to lock the door before you go to bed), yet this is also not how you would phrase things in the context of asking a user to confirm an action.

E.g. I want to confirm the user whether to delete a file, Should I use "Are you sure to delete this file?" or "Do you sure to delete this file?

What you want to ask is "Are you sure you want to xxx?". In your case this would be "Are you sure you want to delete this file?"

Edit: As @BoldBen points out, this phrase might be a little long. Something like "Are you sure?" or "Really delete file?" is probably better.