Discussion:
FTP Storage?
Derek Kastner
2013-09-24 02:47:01 UTC
Permalink
I was thinking about submitting a PR to support FTP storage but I wasn't
sure if it fit within the scope of fog, since fog is a "cloud services"
library and FTP sites aren't "technically" cloud services.

Something like:

connection = Fog::Storage.new({
:provider => 'FTP',
:host => 'example.com',
:username => 'alice',
:password => 'secret',
:passive => true
})

The use case I'm considering for this would be a worker that works with
files on an FTP server, but could either use a mock FTP adapter or would
switch to fog local storage for integration tests. Fog's unified interface
for any kind of storage is appealing.

What do you think?

-Derek Kastner
--
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-fog+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
geemus (Wesley Beary)
2013-09-24 13:35:41 UTC
Permalink
Interesting. I could see how this could be a pretty useful addition for
sure. Happy to help out if you have questions or anything. I think as long
as we set it up so that FTP related stuff doesn't get required unless it is
needed that it should be fine to include.
Thanks!
wes
Post by Derek Kastner
I was thinking about submitting a PR to support FTP storage but I wasn't
sure if it fit within the scope of fog, since fog is a "cloud services"
library and FTP sites aren't "technically" cloud services.
connection = Fog::Storage.new({
:provider => 'FTP',
:host => 'example.com',
:username => 'alice',
:password => 'secret',
:passive => true
})
The use case I'm considering for this would be a worker that works with
files on an FTP server, but could either use a mock FTP adapter or would
switch to fog local storage for integration tests. Fog's unified interface
for any kind of storage is appealing.
What do you think?
-Derek Kastner
--
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-fog+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Loading...