We are using mangoh red wp7502 module. And trying to send a file through ftp protocol. USER , PASS PASV and PORT commands were successfully implemented but we are getting 553 could not create file error while using STOR command . We are trying to send a file present in the sd card, all permissions to access the file are enabled.We enabled required permissions in vsftpd.conf.
We tried through commands in terminal using curl command. it shows 553 failed to create a file.
Should any changes be made in the server side.
strcpy(bufer1,"STOR /etc/sd/my.txt\r\n"); send(sockFd,bufer1,26,0); recv(sockFd,buff,strlen(buff),0); LE_INFO(buff); sleep(2);