I want to write into a .txt file which is located on a http remote server. Can you tell how can i write some text.
Thanks in advance.
Sreedhar
Printable View
I want to write into a .txt file which is located on a http remote server. Can you tell how can i write some text.
Thanks in advance.
Sreedhar
The file is on a remote server? How are you wanting to access that server?
I want to connect using ftp as http is not possible. In my office we are connecting to internet using domain and domain IP.
I have got some code from someone but its not working.
I will be thankful if u can reply ASAP, alternatively my mail id is
[email protected]
Thanking you
Sreedhar
I don't have enough time to write the whole project, and I don't have anything like that laying around, but a few pointers...
As far as I know, FTP is not a protocol that will let you open and write to a file in real time. It will also not let you mount a remote volumne as a local one. You will have to physically write to a local file, and the move that file to the remote server (after you close it) via FTP. FTP will not support append either, you will have to copy it. It will over write a file, so what you are basicly doing it using FTP to keep a backup of a local file on a remote machine. If you keep doing that every few minutes, then whatever needs that file on the remote end will only be a few minutes behind.
Sorry I can't be of more help. If you have a particular problem with the program, we might be able to help fix it.