Issue : Without a pipe symbol after the curl command, the output of the curl command is curl: (21) QUOT command failed with 550. 
With a pipe symbol, curl detects it is not outputting to the terminal and inserts a progress-meter.
To disable the progress-meter I tried using the s flag, However using the s flag also prevents curl: (21) QUOT command failed with 550 from being out-putted. 
I want curl to continue outputting the curl: (21) QUOT command failed with 550 the same way it outputs it in the terminal, but I do not want it to output the progress-meter.
The code : ( with s flag )
curl -ls -Q "DELE $remote_file" $remote_server | sed -r '/^\.{1,2}$/d'
Extra information : 
Perhaps this is not relavant to the question : 
The sed code : removes the . and the .. from the output. 
Update : 
The protocol that is used is ftp.
 
    