Alright, I made a chat program, and it requires a text file, thats on my friends FTP server...It appends to the file, and the file is read for the chat window...Heres the code:
------------------------------------------------------------------------
Private Sub cmdSend_Click()
'"sends" the message
Dim FileNum As Integer
FileNum = FreeFile
Open "ftp://wp.dyndns.org/var/ftp/upload/murali/Chat.txt" For Append As FileNum
If txtMsg.Text = "" Then
lblErrormsg.Caption = "Insert a message before you hit send"
Close #FileNum
Else
Print #FileNum, Login; " >>"; " "; txtMsg.Text
txtMsg.Text = ""
Close #FileNum
End If
End Sub
------------------------------------------------------------------------
The open address is correct, when I type it in as a URL in a Web Browser, it works fine...Otherwise, won't work at all...Any suggestions?