I got this error, as using the 'set'-lines as you proposed to do.

params: -rt -qt -it

Windows 98

The upload has worked well.