Results 1 to 15 of 18
03-21-2005, 05:38 PM #1
listing files in a directory on a web server and replace one when selected
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.
03-21-2005, 05:54 PM #2
Sounds like a question better suited for the program developer.
What program is it?
03-21-2005, 07:06 PM #3
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.
03-21-2005, 07:08 PM #4
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.
03-21-2005, 07:20 PM #5
The product is named wysiwyg editor? can you give me a link or something more to go on?
03-21-2005, 07:27 PM #6
have loaded the program up
two posts up
03-21-2005, 07:31 PM #7
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.
03-21-2005, 07:38 PM #8
this is where i down loaded it
03-21-2005, 07:40 PM #9
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
03-21-2005, 07:51 PM #10
from the websiteWhat 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.
As stated, if you cannot get it from your readme, the best is to contact the script author.
03-21-2005, 08:05 PM #11
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 -->
alert("This is the function you have to adapt to your needs.");
alert("The generated code is:\n\n"+codi);
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.
03-21-2005, 08:26 PM #12
its 01.30 am
hope to hear from you soon
03-21-2005, 09:05 PM #13
I did not know you were waiting for me after I suggested a second time to contact the scripts author.
03-22-2005, 02:27 AM #14
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.
03-22-2005, 02:39 AM #15