After connecting to the server :
Dim address As String = "server.myserver.com"
Dim m_ftp = New FTP(address)
i need to upload file to the folder that is already there
But how can I do it?
If i will write:
Dim address As String = "server.myserver.com/Anna" -> It is not connecting
Dim m_ftp = New FTP(address)
Dim stream As FileStream = file_info.OpenRead()
m_ftp.SendFile(stream, "test.txt")
stream.Close()
I will appreciate any help!! thank you.