Title: Shortcode for plugin
Last modified: September 7, 2017

---

# Shortcode for plugin

 *  [luansnyman](https://wordpress.org/support/users/luansnyman/)
 * (@luansnyman)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/shortcode-for-plugin-6/)
 * Hey, coming across this thread today.
    Was hoping you might be able to help.
 * I am using this shortcode at the moment:
    [wordpress_file_upload uploadpath =“../
   wp-content/user-uploads/%userid%/” duplicatespolicy = “maintain both” uploadpatterns
   = “*.pdf, *.doc, *.docx, *.jpg” uniquepattern = “datetimestamp” requiredlabel
   = “*”]
 * It’s telling me that “Upload failed! Targer folder doesn’t exist.”
 * Please help.
 * PS – how does the ‘duplicatespolicy’ work?
    To my understanding, it should keep
   both files should one be a duplicate, when the code reads: duplicatespolicy =“
   maintain both”
 * Thank and Regards
    Luan
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-for-plugin-6%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Shortcode for plugin’ is closed to new replies.

 * ![](https://ps.w.org/wp-file-upload/assets/icon-256x256.png?rev=3252590)
 * [Iptanus File Upload](https://wordpress.org/plugins/wp-file-upload/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-file-upload/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-file-upload/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-file-upload/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-file-upload/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-file-upload/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [luansnyman](https://wordpress.org/support/users/luansnyman/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/shortcode-for-plugin-6/)
 * Status: not resolved