Hi,
Try to adding a bypass rule of ftp port 21 in Untangle firewall.
I had a similar issue an I solved with this bypass rule:
Destination Address: ftp_server_ip
Source Interface: Any Non-WAN
Destination Interface: Any WAN
Protocol: TCP
Destination Port: 21
And I don't need the bypass rule...