FTP (with extended uri) package available?

Hi,

I am looking for a ruby package that enables me to do something like:

SFTP.cp ‘/tmp/foo’, ‘johndoe:secret@ftp.somehost.com/somedir/’

I suppose somebody has already written something like that? If not, I
will write it.

TIA,

Erik

Did you try using Net::FTP?

There’s more info at http://www.rubycentral.com/book/lib_network.html.

Francis

Erik Terpstra erik@solidcode.net wrote in message news:3edc9c9a$0$49099$e4fe514c@news.xs4all.nl

···

Hi,

I am looking for a ruby package that enables me to do something like:

SFTP.cp ‘/tmp/foo’, ‘johndoe:secret@ftp.somehost.com/somedir/’

I suppose somebody has already written something like that? If not, I
will write it.

TIA,

Erik