title: WebRequest from Unity project
body: <p>I have a Unity project in which I store data to a local folder. I want to send those data to a server using a ftp client. How can I perform so in Unity? Is it a way to do so? Any library or a software like filezilla with which I can perform?</p>
  
  <p>I came across <a href="https://msdn.microsoft.com/en-us/library/system.net.webrequest.aspx" rel="nofollow">webRequest class</a> however I am not sure how to use it. I came across the suggested code from the answer however I am not sure how I am going to use it. I got an error from the <code>FTPupload</code> function located inside the <code>onGUI()</code> function.</p>