How to use variable in FTP connection settings

johnmay5

Client
Регистрация
10.04.2011
Сообщения
83
Благодарностей
5
Баллы
8
I want to upload some files to my websites.
Since these are different websites - these have different FTP details.

This is what i have tried to do:

Save the FTP server, login and pwd details inside a table.
Save each detail as a variable.

In the FTP connection setting, i am using - variable.serverdetails , variable.login, varibale.password

This thing is not working.

So, just want to know whether variables can be used in the FTP connection settings
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Did you used correct format?

{-Variable.name-}

I mean with brackets?
 

johnmay5

Client
Регистрация
10.04.2011
Сообщения
83
Благодарностей
5
Баллы
8
yes, format is correct.. i just want to know if this approach is ok... and whether the files are uploaded once the debug template says - its done.
Strangely - after i posted this thread and rechecked the server - the files are uploaded but the files were not there when the template said - its executed successfully...
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Maybe your FTP program didnt showed up to date data)
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)