Also I can use a program like FileZilla and connect to the ftp site and successfully upload a file just fine. Below is the debug log from FileZilla when this works.
Anyone able to help me out?
17:46:03	Status:	Resolving address of xxx
17:46:03	Status:	Connecting to xxx:21...
17:46:04	Status:	Connection established, waiting for welcome message...
17:46:04	Response:	220-FileZilla Server 0.9.56 beta
17:46:04	Response:	220-written by Tim Kosse (tim.kosse@filezilla-project.org)
17:46:04	Response:	220 Please visit 
https://filezilla-project.org/ 17:46:04	Command:	AUTH TLS
17:46:04	Response:	234 Using authentication type TLS
17:46:04	Status:	Initializing TLS...
17:46:04	Trace:	TLS Handshake successful
17:46:04	Trace:	Protocol: TLS1.2, Key exchange: ECDHE-RSA, Cipher: AES-256-GCM, MAC: AEAD
17:46:04	Status:	Verifying certificate...
17:46:04	Status:	TLS connection established.
17:46:04	Command:	USER xxx
17:46:04	Response:	331 Password required for xxx
17:46:04	Command:	PASS ****************
17:46:04	Response:	230 Logged on
17:46:04	Command:	PBSZ 0
17:46:04	Response:	200 PBSZ=0
17:46:04	Command:	PROT P
17:46:04	Response:	200 Protection level set to P
17:46:04	Status:	Logged in
17:46:04	Trace:	Measured latency of 42 ms
17:46:04	Status:	Starting upload of C:\TEST\test.txt
17:46:04	Command:	CWD /
17:46:04	Response:	250 CWD successful. "/" is current directory.
17:46:04	Command:	TYPE A
17:46:04	Response:	200 Type set to A
17:46:04	Command:	PASV
17:46:04	Response:	227 Entering Passive Mode (12,206,202,114,195,155)
17:46:04	Trace:	Binding data connection source IP to control connection source IP 172.16.4.116
17:46:04	Command:	STOR test.txt
17:46:04	Trace:	Trying to resume existing TLS session.
17:46:04	Trace:	TLS Handshake successful
17:46:04	Trace:	TLS Session resumed
17:46:04	Trace:	Protocol: TLS1.2, Key exchange: ECDHE-RSA, Cipher: AES-256-GCM, MAC: AEAD
17:46:04	Response:	150 Opening data channel for file upload to server of "/test.txt"
17:46:04	Response:	226 Successfully transferred "/test.txt"
17:46:04	Status:	File transfer successful, transferred 0 bytes in 1 second
17:46:04	Status:	Retrieving directory listing of "/"...
17:46:04	Command:	TYPE I
17:46:04	Response:	200 Type set to I
17:46:04	Command:	PASV
17:46:04	Response:	227 Entering Passive Mode (12,206,202,114,195,126)
17:46:04	Trace:	Binding data connection source IP to control connection source IP 172.16.4.116
17:46:04	Command:	MLSD
17:46:04	Trace:	Trying to resume existing TLS session.
17:46:04	Trace:	TLS Handshake successful
17:46:04	Trace:	TLS Session resumed
17:46:04	Trace:	Protocol: TLS1.2, Key exchange: ECDHE-RSA, Cipher: AES-256-GCM, MAC: AEAD
17:46:04	Response:	150 Opening data channel for directory listing of "/"
17:46:04	Response:	226 Successfully transferred "/"
17:46:04	Status:	Directory listing of "/" successful.