Add files programmatically to the UploadAttachments Member list

Last post 03-09-2009, 3:10 PM by cutechat. 3 replies.
Sort Posts: Previous Next
  •  03-09-2009, 2:29 PM 49652

    Add files programmatically to the UploadAttachments Member list

    I need to be able to select a file from a client pc and automatically add other files programmatically to the list of files to be uploaded. I saw on the specs that it's possible to do it with the UploadAttachments member by adding the files to the list of files to be uploaded  and then send it by pressing the send button. Please I need an example of how to add the files to the list programatically.
  •  03-09-2009, 3:00 PM 49653 in reply to 49652

    Re: Add files programmatically to the UploadAttachments Member list

    Hi,
     
    All files are choosen by the user from the browsing dialog.
     
    The uploader can't add other files without the user action.
     
    What do you need exactly ?
     
    Regards,
    Terry.
  •  03-09-2009, 3:07 PM 49654 in reply to 49653

    Re: Add files programmatically to the UploadAttachments Member list

    What I need is:
     
    1. Upload a html file from client pc
    2. Open the file and look for all pictuer reference on the file ('src=')
    3. Upload all the pictures refered on the html file as part of the html file.
     
    I have all the code working except for the part of uploading the referenced files on the html document.
     
  •  03-09-2009, 3:10 PM 49655 in reply to 49654

    Re: Add files programmatically to the UploadAttachments Member list

    Hi,
     
    Currently , that is not possible for default security setting.
     
    That's good idea , if the end-users PC can set security option to allow that.
     
    For example, if your end-users is your website editors , it's possible.
     
    But we haven't implemented that yet.
     
    Regards,
    Terry
View as RSS news feed in XML