Posts: 100
Threads: 13
Joined: Feb 2010
Reputation:
0
Ok so I can't post the source code because this is a big project and I don't want people stealing it but basically I have a chat room and the messages are saved (encrypted) on a remote FTP server on plain text files. I want there to be a clear-chat "button" I guess, what code would I use to replace the contents of a txt file on a FTP server (replace it with nothing - " ")?
Posts: 276
Threads: 17
Joined: Apr 2010
Reputation:
10
Why not just delete the file, and create a new blank file?
zzzzzzz
Posts: 100
Threads: 13
Joined: Feb 2010
Reputation:
0
Alright, how would I do that?
Posts: 276
Threads: 17
Joined: Apr 2010
Reputation:
10
No idea. I've never worked with an FTP. xD sorry
zzzzzzz
Posts: 144
Threads: 3
Joined: May 2010
Reputation:
0
Try just making a new blank one?
Not sure, i tried to think of something sorry :/