40 users online (1 members and 39 guests)  


Page 1 of 2 1 2 Last
  Results 1 to 15 of 18

Related

  1. Directory Listing Wanted    Forum: Internet Services
    Replies: 2
  2. Uploading and unzipping files on server    Forum: HTML Forum
    Replies: 7
  3. listing of all files in dir    Forum: ASP Forum
    Replies: 6
  1. #1
    digger's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Jan 2005
    Posts
    36

    Question listing files in a directory on a web server and replace one when selected

    Hi Guys

    Have a program that allows me to create html docs on the web site written in java nice and easy but the save function is not
    present and would like to know how to write it.

    basic is have a folder with 5 files in on the server and would like to allow a user to create new files with the online editor (that works) then when he pres save the library is shown and he picks the one he wants to replace. Any help please.

    George

  2. #2
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel
    Sounds like a question better suited for the program developer.

    What program is it?

    Dave

  3. #3
    digger's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Jan 2005
    Posts
    36

    its a program called wysiwyg editor

    it comes in a number of verison but due to my ips setup have to use the java version and what i need is a function that will open the dir on the server and alow a user to pick the file and then replace it.

    http://www.money-for-life.co.uk/editor/ie_wysiwyg_web_edit_english.htm

  4. #4
    digger's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Jan 2005
    Posts
    36

    sorry if i posted in the wrong place

    this is the java forum and i did read all of the post before submitting my and i do like to try and work things out as much as possible.

    George

  5. #5
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel
    The product is named wysiwyg editor? can you give me a link or something more to go on?

    Dave

  6. #6
    digger's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Jan 2005
    Posts
    36

    have loaded the program up

    two posts up
    http://www.money-for-life.co.uk/editor/ie_wysiwyg_web_edit_english.htm

  7. #7
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel
    Let me try this again.
    I was not looking for your site I am looking for a link to the site which offers the script, or the name that the programmer gave to the script.

    Dave

  8. #8
    digger's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Jan 2005
    Posts
    36

    this is where i down loaded it

    www.unica.edu/uicfreesoft/wysiwyg_web_edit/wysiwyg_web_edit.tar.gz

  9. #9
    digger's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Jan 2005
    Posts
    36

    Smile for a test it might be helpful

    if you go to the link on my site and press the save icon
    you will see what i get back this may be of use for you
    to help me as the site i downloaded from is not in english

  10. #10
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel
    from the website
    What will be done when the user click on 'Save' button, depends on what the 'save_function' or the submit url (given by the programmer who is embedding the editor) do. For instance, you can send the information to a server and store the generated HTML code in a database.
    It looks like the answer is probably in your readme file.

    As stated, if you cannot get it from your readme, the best is to contact the script author.

    Dave

  11. #11
    digger's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Jan 2005
    Posts
    36

    the read me file not helpful

    the readme file is for mainly for the php verison there is not
    much help for the java verison when you press save on my web site it runs the followin fuction

    <!--this is the save function -->
    <SCRIPT>
    function salvar_html(codi){
    alert("This is the function you have to adapt to your needs.");
    alert("The generated code is:\n\n"+codi);
    return true
    } </SCRIPT>

    which also gives you a print to screen of the code you have just written all i need is help with the java function to open the dir on my server and then write the document shown as a html
    if you press save on my test screen you will see what i am trying to say.

  12. #12
    digger's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Jan 2005
    Posts
    36

    its 01.30 am

    hope to hear from you soon

    bibifn
    George

  13. #13
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel
    I did not know you were waiting for me after I suggested a second time to contact the scripts author.

    Dave

  14. #14
    digger's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Jan 2005
    Posts
    36

    Question contacting the script author

    This is not an option as in his code he sates

    quote "This is the function you have to adapt to your needs" unquote


    if you only url to my web site and click on the one little
    button you will see this satement and the output that
    is generated by the script.

  15. #15
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel
    I did that long ago.



Page 1 of 2 1 2 Last

Tags for this Thread