[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[msmtp-users] Question about Transferring files



Dear All.

When transferring the file testfile.txt (7mb) of bandwidth spent is 14 mb ?!

For example:

echo Subject: Upload >mailfile.txt
echo MIME-Version: 1.0 >>mailfile.txt
echo Content-Type: application/zip; name=file.zip >>mailfile.txt
echo Content-Disposition: attachment; filename="file.txt" >>mailfile.txt
echo Content-Transfer-Encoding: base64 >>mailfile.txt
type filebase64.txt >>mailfile.txt
msmtp.exe --file=msmtrc.txt -- < mailfile.txt example@...101...
exit > nul

Features:

testfile.zip 6.99 mb (7 333 686)

filebase64.txt 9.57 mb (10 035 572)

mailfile.txt 9.57 mb (10 035 748)

filebase64.txt is as BASE64 encrypted received from testfile.zip

of example:

base64.exe -e testfile.zip filebase64.txt


Thanks