Fix Mac Upload FTP issue

At a time, I tested all kinds of FTP clients on my mac, but I failed to get successful upload. The end results are 0kb uploaded dummy file leave on the server. Recently, I get to find out the solution for this.

1. Check your mac setting whether is the MTU set to 1500.

$ifconfig | grep mtu

2. Change the MTU to 1300 since I learn that MTU at 1200 ~ 1300 will get the success. So depends whether your connection is en0 or en1

$sudo ifconfig en0 mtu 1300

change it to en1 if you are connecting to en1.

The set value might change back for every reboot, so prepare to make an automator script to run it every restarts.

Advertisements