not able to upload image to ftp server iOS swift using white raccoon , i tried even gold and all -


my code :-

func upload() {

    let ouimage = uiimage.init(named: "insert-picture-icon.png")     let ourimagedata = uiimagejpegrepresentation(ouimage!, 0.5)      let uploadimage:wrrequestupload = wrrequestupload.init()     uploadimage.delegate = self      //for anonymous login leave username , password nil     uploadimage.hostname = "52.41.4.214"     uploadimage.username = "hotfuse"     uploadimage.password = "rand0m@1"      //we set our data     uploadimage.sentdata = ourimagedata;      //the path needs absolute ftp root folder.     //full url ftp://xxx.xxx.xxx.xxx/space.jpg     uploadimage.path = "/var/spce.jpg";      //we start request     uploadimage.start() } 

i tried following error

error :-

[wrrequestlistdirectory stream:handleevent:] [line 905] unknown error!


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -