0.0
No commit activity in last 3 years
No release in over 3 years
An FTP Service is like a web service except stupid. You send your request by uploading an xml file and get your response by downloading another xml file.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0.6.3
>= 0.9.8
>= 1.2.9
>= 0.5.3

Runtime

>= 0.2.0
 Project Readme

FTP Service

An FTP Service is like a web service except stupid. You send your request by uploading an xml file and get your response by downloading another xml file. Have you ever had to deal with something like that? I have. It sucks. I wrote this to make it suck less. I hope no one else has to use it.

RDocs on rdoc.info.

Source code on github.

Installation

gem install ftp_service

Usage

require 'ftp_service'

FtpService.open('host', 'user', 'pass') do |service|
  service.write_request('<foo>bar</foo>', "/request/path.xml")
  response = service.read_response("/response/path.xml")
end

Encryption with GPG is also upported. For more details, see the RDocs.

Copyright

Copyright (c) 2010 Justin Blake. See LICENSE for details.