ht.Initialize("upload",Module)
ht.PostString(Library.WebService & "/upload_file",su.EncodeBase64(ou.ToBytesArray))
ext = getFileExtension(sFile)
stype = getFileType(ext)
ht.GetRequest.SetContentType(stype)
ht.GetRequest.SetHeader("key1",Library.LoginSession.Username)
ht.GetRequest.SetHeader("key2",Library.LoginSession.Password)
ht.GetRequest.SetHeader("key3",Library.phone1.GetDeviceId)
ht.GetRequest.SetHeader("key4",Library.LoginSession.Token)
ht.GetRequest.SetHeader("path",sParentPath)
ht.GetRequest.SetHeader("name",Library.GetFilename(sFile))
ht.GetRequest.SetHeader("extension",ext)