jyijyi
September 30, 2022, 2:40pm
22
you can use ./busybox-armv5l_1.26 ftpput
Or you can see here for ftp upload by C program
Or you can try curl
1 Like
Hi @jyijyi
Using /busybox-armv5l_1.26 for ftp can I use ssl/tls in that?
Thanks
jyijyi
October 10, 2022, 10:04am
24
did you try curl with FTPS?
curl, certificates, ftps
Yes, I tried doing it with curl it won’t works fine for me.
curl -u username:paswd ‘ftp://url ’ -o test_file.update
on execution of this command, it didn’t download the file.
jyijyi
October 10, 2022, 10:21am
26
other user can make it work by curl:
Hi,
regarding ftp, I connected to the server through connect call, after that i send command ftp through send call . I got return value 220. then in order to login i used strcpy(msgbuf, “USER”) , strcat username to the command and then sent . I used snprintf function also. but again i got return value 220. through terminal I am able to connect to the server through commands curl ftp://ftpsit.com --user username:password.
I could not understand what is problem in the code. and please tell…
You can also see here on using curl to download ftp file:
download, ftp, curl