Never had this problem.
Maybe cause I didn't send big files, anyhow this smal and simple code is what I made back then:
global Share_HostIP$
function SetSharingHost(HostIP$)
Share_HostIP$=HostIP$
endfunction
function UploadFile(ServerFile$,LocalFile$,PostData$)
ConnectionID=CreateHTTPConnection()
SetHTTPHost(ConnectionID,Share_HostIP$,0)
SendHTTPFile(ConnectionID,ServerFile$,PostData$,LocalFile$)
endfunction ConnectionID
function DownloadFile(ServerFile$,LocalFile$,PostData$)
ConnectionID=CreateHTTPConnection()
SetHTTPHost(ConnectionID,Share_HostIP$,0)
GetHTTPFile(ConnectionID,ServerFile$,PostData$,LocalFile$)
endfunction ConnectionID
function DeleteSharingConnection(ConnectionID)
CloseHTTPConnection(ConnectionID)
DeleteHTTPConnection(ConnectionID)
endfunction
function GetShareProgress(ConnectionID)
if GetHTTPResponseReady(ConnectionID)
Progress=100
//~ message("Response: "+GetHTTPResponse(ConnectionID))
else
Progress=GetHTTPFileProgress(ConnectionID)
endif
if Progress>=100 and GetHTTPFileComplete(ConnectionID)=1
DeleteSharingConnection(ConnectionID)
endif
endfunction Progress