There is no additional code for the functionality of a drag and drop upload. It functions exactly like a file upload field. The only tricky part is the css and javascript code to make it look like that. You can still use webassist file upload to move the file to a particular folder with a drag and drop file upload field.