HTTPSecureSocket.Post

Need to write text or as text file to one of my websites…

HTTPSecureSocket.Post (“https://www.white-wizard-productions.com/Downloads”, FILENAME As FolderItem )

It says FILENAME does not exist. Also not sure how to pass on the user and password to write the file…

Thanks!

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.