1 Reply Latest reply on Mar 6, 2014 2:05 AM by Kutir Mobility

    Upload Images using FTP

    mobeid@asapsystems.com

      Hello, I want to upload our images from mobile to our server, i used the HTTP to upload our images but now i want to change the upload way to FTP. this is my code: def upload_image     @image = Image.find(@params['id'])     realpath = Rho::RhoApplication::get_blob_path(@image.image_uri)     Rho::AsyncHttp.upload_file(       :url => "http://IP/APPNAME/Upload.ashx",       :filename => realpath,       :body => "customerid=#{@params["customerid"]}&userid=#{@params["userid"]}&assetnbr=#{Rho::RhoSupport.url_encode(@params["assetnbr"])}&cnxn=#{@params["cnxn"]}&isPrimary=#{@params["isPrimary"]}&fromForm=#{@params["fromForm"]}",       :callback => (url_for :action => :http_callback),       :callback_param => "image_uri=#{@image.image_uri}"     )   end how can i change it to FTP Upload ? Sincerely,