Gallaz Software
Would you like to react to this message? Create an account in a few clicks or log in to continue.

FTP Settings

3 posters

Go down

FTP Settings Empty FTP Settings

Post  Scorm Sat Dec 18, 2010 4:33 pm

Ok, here's my problem :
I have 2 different FTP hosting websites to use.
But when I enter correctly each FTP settings in MLD
And then I choose to add something like an image
It tells me : ""Connexion to FTP impossible !!!
Verify your settings in preferences (F2)"
I already checked my settings, they are OK
And I'm NOT already connected to the FTP servers so that doesn't seem to be the problem ..

Scorm

Posts : 9
Join date : 2010-12-18

Back to top Go down

FTP Settings Empty Re: FTP Settings

Post  bibi Sun Dec 19, 2010 7:42 pm

I'll add multiple FTP support in next version
bibi
bibi

Posts : 109
Join date : 2010-08-30

Back to top Go down

FTP Settings Empty Re: FTP Settings

Post  Scorm Mon Dec 20, 2010 10:08 am

Désolé je me suis mal exprimé donc je vais essayer en français ...
J'ai deux sites de FTP avec le login, mot de passe et tout
Quand j'essaye le premier, ça ne marche pas
Et le deuxième, pareil !
Pourtant les informations que j'ai entrées sont correctes, puisque je peux accéder à mes fichiers via FileZilla (gestionnaire de FTP)
Mais le message d'erreur comme quoi le programme ne peut accéder au serveur s'affiche tout le temps ..

Scorm

Posts : 9
Join date : 2010-12-18

Back to top Go down

FTP Settings Empty Re: FTP Settings

Post  bibi Tue Dec 21, 2010 12:49 pm

Essaye d'être un peu plus précis. Si ça marche avec filezilla il n'y a aucune raison que cela ne marche pas avec MLD.
Suis cette démarche et dis moi précisément ce qui se passe:
- verifier les paramètres du ftp
FTP Settings 4d10840bbe9ba
sur l'exemple ici une image dans le sous dossier à pour adresse sur le ftp
ftp://monftp.com/manialink/img/monimage.jpg
mais avec cette adresse on ne peut pas l'atteindre sur le web c'est pourquoi il faut bien régler le préfixe pour le web.
Ainsi l'adresse pour le web de l'image est : http://monsite.com/manialink/img/monimage.jpg
(remarque : souvent le login apparait dans le préfixe web exemple pour moi chez numericable :
hôte ftp : ftp://perso.numericable.fr/ et préfixe http://perso.numericable.fr/bibigallaz/ )
- créer un nouveau document
- créer par exemple une image
- appuyer sur le bouton ftp pour sélectionner une image à partir du FTP
- une fenêtre doit apparaître avec le nom de toutes les images du sous dossier image sur ton FTP

bibi
bibi

Posts : 109
Join date : 2010-08-30

Back to top Go down

FTP Settings Empty Re: FTP Settings

Post  Banane9 Wed Dec 22, 2010 12:03 am

i think he tried to put more than one for each präfix so it cant be correct, may he can send us a pic of his präfixes
Banane9
Banane9

Posts : 26
Join date : 2010-11-30
Age : 27
Location : Germany

http://banane9.ba.funpic.de/phpbb/

Back to top Go down

FTP Settings Empty Re: FTP Settings

Post  Scorm Wed Dec 22, 2010 3:06 pm

Je suis vraiment désolé... j'ai du me tromper dans un détail infime. Ça marche maintenant =]


I'm sorry for the trouble I caused... I changed a setting and everything is working fine now =]

Juste un petit problème... mon préfix ftp est le dossier "public_html" ensuite jai /trackmania/manialink/...
Sauf que sur internet il ne doit pas apparaitre dans les liens car l'intérieur de ce dossier constitue la base de ce qui est accessible par internet ...

En gros il me faut /trackmania/manialink/... directement dans les liens Internet

Scorm

Posts : 9
Join date : 2010-12-18

Back to top Go down

FTP Settings Empty Re: FTP Settings

Post  bibi Thu Dec 23, 2010 1:47 pm

Pas de problème ! L'essentiel c'est que ça marche maintenant
bibi
bibi

Posts : 109
Join date : 2010-08-30

Back to top Go down

FTP Settings Empty Re: FTP Settings

Post  Scorm Thu Dec 23, 2010 2:26 pm

Je veux dire que ça ne marche pas complètement :
FTP Settings 1-1

Le programme fait automatiquement http://bapro.offhost.fr/public_html/trackmania/manialink/bapro/
Mais je ne veux pas la partie en gras, car elle fausse tout les liens. (public_html/)
Comment dois-je faire ?

Scorm

Posts : 9
Join date : 2010-12-18

Back to top Go down

FTP Settings Empty Re: FTP Settings

Post  Banane9 Sat Dec 25, 2010 3:08 pm

i know the problem Very Happy its easy to end, just make so,
Host :ftp://bapro.offhost.fr/public_html/
Login: your login
Password: your password
Prefix for web: http://bapro.offhost.fr/
images:trackmania/manialink/bapro/images/
xml files:trackmania/manialink/bapro/
other medias: trackmania/manialink/bapro/media

and for sure no double slashs xD -->//
hope i could help you Very Happy
Banane9
Banane9

Posts : 26
Join date : 2010-11-30
Age : 27
Location : Germany

http://banane9.ba.funpic.de/phpbb/

Back to top Go down

FTP Settings Empty Re: FTP Settings

Post  Scorm Sat Dec 25, 2010 6:33 pm

Thanks ! How clever to put it like that =]
Btw, Merry Christmas to you

And do you have any advice on how to put in "fullscreen" a background image ?
Perhaps Pos X or Size W settings ?

Never mind, I didn't pay attention to the right click additional options =]

Scorm

Posts : 9
Join date : 2010-12-18

Back to top Go down

FTP Settings Empty Re: FTP Settings

Post  Banane9 Sat Dec 25, 2010 7:11 pm

haha no problem Very Happy but if u wont use rightclick it´s Size W:128 H:96 Wink may bibi can create a forum to show pages that are createt with MLD and merry christmas Very Happy
Banane9
Banane9

Posts : 26
Join date : 2010-11-30
Age : 27
Location : Germany

http://banane9.ba.funpic.de/phpbb/

Back to top Go down

FTP Settings Empty Re: FTP Settings

Post  Scorm Sun Dec 26, 2010 4:51 pm

Another question ^.^
Each time you want to create a new page in the manialink, it must be a new manialink linking to your .xml page of choice ?

Scorm

Posts : 9
Join date : 2010-12-18

Back to top Go down

FTP Settings Empty Re: FTP Settings

Post  Banane9 Tue Dec 28, 2010 12:03 am

yep otherwise u could use php^^ than you can display different pages with only one code Very Happy just adding a ?mp=whatever behind it Very Happy
Banane9
Banane9

Posts : 26
Join date : 2010-11-30
Age : 27
Location : Germany

http://banane9.ba.funpic.de/phpbb/

Back to top Go down

FTP Settings Empty Re: FTP Settings

Post  Scorm Thu Dec 30, 2010 5:18 pm

Maybe I could use php but it'll be more complicated since MLD generates only xml files ^^

Edit : mmmh, perhaps the export as php can be usefull =D. But how do I proceed with the code afterwards, in notepad ++ for example ?

Scorm

Posts : 9
Join date : 2010-12-18

Back to top Go down

FTP Settings Empty Re: FTP Settings

Post  Banane9 Thu Dec 30, 2010 6:28 pm

try this Very Happy its a simply if cause that displays a page then a parameter (here 'mp' for mainpage) is set to a selected thing (here home):
[php]
<?php
$mp=$_GET["mp"];
//Header+Start-Tag:
echo'<?xml version="1.0" encoding="UTF-8"?>
<manialink>
<timeout>0</timeout>
<music data="http://banane9.ba.funpic.de/ChallengeMusics/08%20-%20Quadricore.ogg"/>
<include url="http://banane9.ba.funpic.de/Banane9sManialink/xml-files/index.xml"></include>';
//Home-Page:
if($mp=="home")
{
echo'your xml-code for the home page';
}
//Endtag:
echo'</manialink>';
?>
[/php]
the output frm manialinkdesigner if u export as php is like so:
[php]
<?php
echo'1st line';
echo'2nd line';
//and so on
?>
[/php]
delete all the echos and just put the code in the ' ' of my thing and without the xml start thing and ml header and and ml and tag ^^ i already added it and it wont function if u add it a second time Wink have fun
Banane9
Banane9

Posts : 26
Join date : 2010-11-30
Age : 27
Location : Germany

http://banane9.ba.funpic.de/phpbb/

Back to top Go down

FTP Settings Empty Re: FTP Settings

Post  Scorm Wed Jan 05, 2011 10:10 am

Banane9 wrote:try this Very Happy its a simply if cause that displays a page then a parameter (here 'mp' for mainpage) is set to a selected thing (here home):
[php]
<?php
$mp=$_GET["mp"];
//Header+Start-Tag:
echo'<?xml version="1.0" encoding="UTF-8"?>
<manialink>
<timeout>0</timeout>
<music data="http://banane9.ba.funpic.de/ChallengeMusics/08%20-%20Quadricore.ogg"/>
<include url="http://banane9.ba.funpic.de/Banane9sManialink/xml-files/index.xml"></include>';
//Home-Page:
if($mp=="home")
{
echo'your xml-code for the home page';
}
//Endtag:
echo'</manialink>';
?>
[/php]
the output frm manialinkdesigner if u export as php is like so:
[php]
<?php
echo'1st line';
echo'2nd line';
//and so on
?>
[/php]
delete all the echos and just put the code in the ' ' of my thing and without the xml start thing and ml header and and ml and tag ^^ i already added it and it wont function if u add it a second time Wink have fun

Thanks ! And how about my other pages ? Do they automatically pass through the php script ?
And why the need to put the link to the XML file on Internet AND the XML code itself ?
On TM, it says "invalid manialink file" .. I updated the link to my homepage with this php script

Scorm

Posts : 9
Join date : 2010-12-18

Back to top Go down

FTP Settings Empty Re: FTP Settings

Post  Banane9 Thu Jan 06, 2011 1:12 pm

may was complicated must look so:
<?php
$mp=$_GET["mp"];
echo'<?xml version="1.0" encoding="UTF-8"?>
<manialink>
<timeout>0</timeout>';
//Design: #This part will be displayed in every case
echo'<frame>
<quad posn="-9 0 -35" sizen="110 96" halign="center" valign="center" image="http://osterhase.pixom.eu/easter-game/design/ostereier2.jpg"></quad>
<quad posn="55 0 -35" sizen="18 96" halign="center" valign="center" image="http://osterhase.pixom.eu/easter-game/design/wiese.png"></quad>
<label posn="55 -40 -31" sizen="14 11" halign="center" valign="center" text="$w$f00You have found $0f0'.$eggcount.' $f00of $0f0'.$maxeggs.'$f00 eggs!" autonewline="1"></label>
</frame>';
//Page-Style: #This part will only be displayed if the variable mp is "home" or nothing.
if($mp=="home" OR $mp=="") {
echo'<frame posn="0 0 0">
<quad posn="-10 0 -30" sizen="85.8 60" halign="center" valign="center" style="Bgs1" substyle="BgList"></quad>
<quad posn="-8.5 38 -29" sizen="110 18" halign="center" valign="center" image="http://osterhase.pixom.eu/easter-game/design/page-style-header.png"></quad>
<quad posn="-9 -38 -29" sizen="110 18" halign="center" valign="center" image="http://osterhase.pixom.eu/easter-game/design/page-style-bottom.png"></quad>
</frame>';
}
?>

for each of your pages u do a if() and do e.g. for avatars $mp=="avatars"
to set mp put your mlurl so (i use scorm now), Scorm?mp=avatars
Banane9
Banane9

Posts : 26
Join date : 2010-11-30
Age : 27
Location : Germany

http://banane9.ba.funpic.de/phpbb/

Back to top Go down

FTP Settings Empty Re: FTP Settings

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum