Hmm.... I think the version.txt is empty. Try to re-upload it. If you've done all that, then try this:
[php]Dim Temp as string=My.Computer.Filesystem.GetTempFilename() & rnd() *10000
My.Computer.Network.DownloadFile("http://www.mywebsiteblahblah.com/Version.txt",Temp)
Dim read as string = My.Computer.FileSystem.ReadAllText(Temp)
If not read = vbnullString Then
Msgbox ("Check version here...")
End If
My.Computer.FileSystem.DeleteFile(Temp,FileIO.UIOp tion.OnlyErrorDialogs, FileIO.RecycleOption.DeletePermanently, FileIO.UICancelOption.ThrowException)
[/php]
This code should work for you if the version.txt file is not empty...Working fine for me.
Hope this helps !!
Am I supposed to change StrNotice to something cos it's not declared?
Im choob at this webrequest stuff.
And the ftp is working fine for downloading my other files, it's the "version.txt" file that it just doesn't want to download.