Hello, I’m new to unity, I need a simple script to send a XML file (don’t need to read contents) from “StreamingAssets” folder to our FTP server root folder with ability to change |“FTP User Name” “FTP Password” “FTP Host Name” “FTP Port”|. I have been seen some example in unity forums and unity documentation but nothing helped me. if you know simple ways please guide me thanks.
I think you will have to use the WWW class combined with a server scripting language like php to do this. I doubt that you will be able to do it directly out of unity. You also don’t say if you are working with standalone or web based.
Something like this might work (at least it runs in unity, didn’t have ftp server to test right now…)
1 Like
didn’t read the question properly, mgear’s suggestion is better…
Using www+php would work also, i’d rather do that than send with ftp…
Thanks guys.