rename files after upload

Last post 11-11-2013, 10:04 AM by bartje. 1 replies.
Sort Posts: Previous Next
  •  11-11-2013, 7:57 AM 78345

    rename files after upload

    Hi,

     

    I am creating a control where images are automatically renamed after they are uploaded, this is because we require a prefix before the images.

    The renaming works, but I always end up with an error. Probably because the cute-editor wants to do something with the original image which is renamed.

    does someone has a solution form by promlem?

     

    for automatically renaming the files I use

    args.CopyTo  or

    args.MoveTo

    in the FileUploaded part

     

    Thank you in advace with regards Bart

  •  11-11-2013, 10:04 AM 78347 in reply to 78345

    Re: rename files after upload

    Hi,

     

    I fixed the issue I had earlier, some corrupt config file, but Now I have some other issue.

    FileUploaded doesn't seem to be the last step in the proces. it seems to be after this, the file is actually saved and the input text gets its value. what do I have to do to manage evering completely at the end of the upload part?

    Thank you

View as RSS news feed in XML