FTP file could not create


#1

Hi,
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);

#2

It might be useful to use curl --verbose to get more info on the transation.

Is the same command working from another linux machine (Ubuntu or other)?


#3

We used curl --verbose , it is showing the same error 553 could not create file .
Please help us.