Resolve FTPS data connection rejection errors by switching to passive mode and configuring the server firewall to allow the specific passive port range.