FTP use get command 550 failed to open file, but use the put command to solve the problem

when using the FTP anonymous service, it is ok to upload files using the PUT command, but 550 Failed to open file appears using the get command, because the downloaded file does not have permissions

problem:
ftp> Get 2.txt
local: 2.txt remote: 2.txt
. TXT
227 Entering the Mode (192,168,8,35,231,233)

solution:
CD /var/ftp/pub
chmod 777 2.txt

results :
ftp> Get 2.txt
local: 2.txt remote: 2.txt
(192,168, 35,135,27).
150 Opening BINARY Mode data connection for 2. TXT (0 bytes)

Read More: