Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parametric management of FTP parameters #13

Open
biggiu opened this issue Nov 29, 2023 · 0 comments
Open

Parametric management of FTP parameters #13

biggiu opened this issue Nov 29, 2023 · 0 comments

Comments

@biggiu
Copy link

biggiu commented Nov 29, 2023

Hello and congratulations for the good work done.
I tried the library and everything works great.
Now however, I would like to make the access parameters to the FTP area parametric.
I planned to read these parameters from SD-CARD and assign them to the variables:

char ftp_server[] = "";
char ftp_user[] = "";
char ftp_pass[] = "";

for example :

String FTP_SER;
String FTP_USR;
String FTP_PWD;

these variables are read from SD-CARD.

Then I try to do:
char ftp_server[] = FTP_SER;
char ftp_user[] = FTP_USR;
char ftp_pass[] = FTP_PWD;

but I can't get it to work no matter what I try.
It's true that I'm not very good with the Arduino language but it seems strange to me not to be able to manage something apparently so simple.

Would you be so kind as to give me a hand.
Thank you for any collaboration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant