Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple upload script trashes ASCII characters

Status
Not open for further replies.

monkey64

Technical User
Apr 27, 2008
69
GB
I'm using the following code to upload a text file to my web server:

Code:
Dim server = "myftpserver"
Dim user = "myuser"
Dim pass = "mypass"
My.Computer.Network.UploadFile("file", "location", user, pass, True, 500)

It works perfectly apart from one the fact that during transmission, extended ASCII characters do not end up as intended:

Brögger becomes Brögger when I view the text file on the web server. I'm tearing my hair out with this one, can anyone help?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top