That’s not a valid method call. You have to actually create an instance of filename using something like this:
Dim filename As FolderItem = SpecialFolder.Documents.Child("MyFile.txt")
MyHTTPSecureSocket.Post(https://www.white-wizard-productions.com/Downloads", filename)
MyHTTPSocket is an HTTPSecureSocket you’ve dragged onto your layout.