Hi J
I have had a look through previous scripts and found that the telnet commands was used in a php script, All other FTP related scripts in ASP use specific components that were installed on the servers.
It is worth calling your hosting company and letting them know what you are trying to...
Hi J
Just noticed in your script that you are trying to use CMD.EXE
Shouldnt this be FTP.EXE???
Das
Cant see any hosting company giving you command access to there servers.
Hi
Check with your host to see if you can run
objShell.Exec
If not ask if you can have them install compnents for you and what components they has set up already.
I used a method previously that uses say telnet commends, I will keep looking and post if nobody else replies.
D :o)
In your Tiny MCE init function set
external_link_list_url : "example_link_list.asp",
external_image_list_url : "example_image_list.asp",
flash_external_list_url : "example_flash_list.asp"
and rename your file the same
extensions only state how a file is run not the contents
so tinymce is only...
Just remember two things JS is client side so not possible to access files from server so had to be done in ASP, PHP ect
All your trying to do is output javascript code using ASP
if you run the example_image_list.asp file directly you will be able to see what is outputted as the js file and...
Not tested but should work !
I have broken out the javascript aspect of this so should you have no file then TinyMce wouldnt fall over.
var theImageList = new Array(
// Name, URL
<!-- All that needs outputing is ["Library image 1", "/images/library/1.jpg"], -->
<%
Set objFso =...
Try This
JS CODE:
function insertAtCursor(myField, myValue) {
if (document.selection) {
myField.focus();
sel = document.selection.createRange();
sel.text = myValue;
}
else if (myField.selectionStart || myField.selectionStart == '0') {
var startPos = myField.selectionStart;
var endPos =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.