Support Forums

Full Version: Help with a part of chat program...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 - " ")?
Why not just delete the file, and create a new blank file?
Alright, how would I do that?
No idea. I've never worked with an FTP. xD sorry
Sad This sucks.
Thanks, I will look at that but I think this is now solved Smile
Try just making a new blank one?
Not sure, i tried to think of something sorry :/