Hello
I have this question asked before in this site but I didn't get the satisfying answer for it, I'll just restate it and I hope someone has the answer I'm looking for.
My question is:
I have this file that is on a server
The server ip (let's say) is 10.0.1.120
The username of the server is (lets' say): MyUserName
The password of the server is (lets' say): MyPassWord
On that server there is a file called "MyFile.txt" and it's located at "/home/[MyUserName]/www/"
When you open this file, it looks like this:
So as you all can see, it's a flat file, not any other kind of complicatingly formatted file such as those of ACCESS or such.[SOME_NAME1][TAB_CHARACTER][SOME_EMAIL1][NEW_LINE_CHARACTER]
[SOME_NAME2][TAB_CHARACTER][SOME_EMAIL2][NEW_LINE_CHARACTER]
[SOME_NAME3][TAB_CHARACTER][SOME_EMAIL3][NEW_LINE_CHARACTER]
[SOME_NAME4][TAB_CHARACTER][SOME_EMAIL4][NEW_LINE_CHARACTER]
[SOME_NAME5][TAB_CHARACTER][SOME_EMAIL5][NEW_LINE_CHARACTER]
[SOME_NAME6][TAB_CHARACTER][SOME_EMAIL6][NEW_LINE_CHARACTER]
How can I connect to that server and read those infos in a string? And if this reading is possible, then how can I write to that same file as well?
Bookmarks