This forum is a community forum meant for users of the plugin to collaborate and help solve issues with implementation, etc. Unfortunately, as the creator of the plugin, I do not have much time to attend to every request here as this is only a side project and I must work a full-time job to provide for my family. This is how I keep the Flash version free and the HTML5 version low cost.
UploadiFive 1.1.1 has been released which includes a small fix for added support on touch devices including iOS 6 devices.
How to rename a file or change folder?
  • Hello all, I installed successfully uploadify on my site, also I made a form which create a folder from the user input, my question is : how do I change the path of the folder to upload or change the name of the file from a form ? ( that is because I want to detect what file belong to which user) thanks, Shay
  • to make a folder i just used a simple form with php, and the action "mkdir",
    please if someone can help me by changing the folder using a simple form it would be great !!
  • here is the code
  • <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
    <html xmlns="http://www.w3.org/1999/xhtml"&gt;
    <head>

    <form id="myform" name="myform">
    <input type='text' id='name'/>
    </form>

    <link href="/uploadify/uploadify.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="/uploadify/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="/uploadify/swfobject.js"></script>
    <script type="text/javascript" src="/uploadify/jquery.uploadify.v2.1.4.min.js"></script>

    <script type="text/javascript">

    oFormObject = document.forms['myform'];
    oformElement = oFormObject.elements[name];

    $(document).ready(function() {
    $('#file_upload').uploadify({
    'uploader' : '/uploadify/uploadify.swf',
    'script' : '/uploadify/uploadify.php',
    'cancelImg' : '/uploadify/cancel.png',
    'folder' : '/uploads' + '/' + oformElement,
    'auto' : true,
    'removeCompleted' : false,
    // 'buttonImg' : '/wp-content/uploads/rollover-button.png',
    'fileExt' : '*.jpg;*.gif;*.png',
    'multi' : true,
    'onAllComplete' : function(event,data) {
    alert(data.filesUploaded + 'files uploaded successfully!');
    }
    });
    });
    </script>
  • sir can you give the (uploadify.php).. thanks you in advance !
  • Hi I have been trying to do this but i must be missing something as i just get a undefined folder when the files are saved can you help a little more please..
  • Check out my answer to robwill30's post.
    http://www.uploadify.com/forums/discussion/7826/user-folder-input-form-rename-folder/p1
    The reason using a variable in the folder property during onReady doesn't work is because the input field is blank when this occurs. You'll want to set the folder using .uploadifySettings() before you upload instead since by then, the field is filled in.