dired-dnd-handle-file

dired-dnd-handle-file is a compiled Lisp function in `dired.el'.

(dired-dnd-handle-file URI ACTION)

Copy, move or link a file to the Dired directory if it is a local file.
URI is the file to handle. If the hostname in the URI isn't local, do nothing.
ACTION is one of copy, move, link or ask.
Ask means pop up a menu for the user to select one of copy, move or link.