Hi I want to be able to Write and Read files from my ftp server.
I have my scripts set up to do what i want but only localy.
Here is what i use:
import System;
import System.IO;
var PropertyNumber : String ="PropertyNumber";
var PropertyOwner : String = "Nobody";
function Update ()
{
if(File.Exists("PlayerInfo/Property"+PropertyNumber+".txt"))
{
var si = File.OpenText("PlayerInfo/Property"+PropertyNumber+".txt");
var line = si.ReadLine();
PropertyOwner=line; }
}
This works but i cannot just write any url in the File.OpenText("") It only works localy for now.
I just need to know how to connect to my ftp server.
I also need to be able to write txt files on my server.
Any help welcome!