Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More flexible file selection from FTP #1

Open
avit opened this issue Dec 18, 2013 · 2 comments
Open

More flexible file selection from FTP #1

avit opened this issue Dec 18, 2013 · 2 comments

Comments

@avit
Copy link
Owner

avit commented Dec 18, 2013

Currently it's hard to get the mtime of files on the server without querying them individually (it's a limitation of the FTP protocol) and the ftp.list command just gives us a list of unstructured strings in ls -l format.

The net-ftp-list gem would allow us to easily parse the output of ftp.list instead of just getting the filenames from ftp.nlst: this means we could select files on name or mtime criteria.

We should use this to expose a client.search method for selecting files similar to Stockboy::Providers::IMAP.

@markjlorenz
Copy link

@avit It's been while since you opened this. Before I start implementing I just wanted to check, do you still think it's a good feature?

@avit
Copy link
Owner Author

avit commented Aug 5, 2014

I haven't had time to start on it yet, but I think it would be a good idea. If you want to add it, a pull request would be very welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants