Closed davekc closed 2 years ago
Or course it could be implemented differently. Like:
char user[FTP_CRED_SIZE +1]; // user name
char pass[FTP_CRED_SIZE +1]; // password
Then:
if ( strlen( _user ) > 0 && strlen( _user ) <= FTP_CRED_SIZE )
if ( strlen( _pass ) > 0 && strlen( _pass ) <= FTP_CRED_SIZE )
Just an idea ;)
Kind regards, Dave
Hi @davekc
The new FTP_Server_Teensy41 v1.2.0 has just been published. Your contribution is noted in Contributions and Thanks
Best Regards,
WiFiNINA
, such as Adafruit Airlift Featherwing
user_name
length to max 63 and user_password
to max 127. Check Setting FTP_CRED_SIZE on the fly like with FTP_BUF_SIZE #4
FTP_CRED_SIZE is defined to 16 (limiting the credentials to 15 characters actually)
What about setting it to 17 by default or...
Being able to set it on the fly like with FTP_BUF_SIZE
Thanks for the library!