this looks good.
what I don’t understand is what you mean
strong text
what compression ? is the 10Gb file not already compressed. With todays internet speed compression is not really required.
what is the error when refused.
You should check the client syslog / dmesg for any size restrictions.