keedio / flume-ftp-source

FTP network server is source of events for Apache-flume
80 stars 61 forks source link

Ability to specify directory from which data should be pulled #20

Closed NitinKumar94 closed 7 years ago

NitinKumar94 commented 8 years ago

From the available configurations for the ftp source, I was not able to find a property via which I configure the path to the directory from which I want to pull files.

This would mean that I would need to host files I want to handle differently in separate users home directory.

I might be misreading the documentation but I guess this is an essential feature that is required.

Thanks.

lazaromedina commented 8 years ago

The ftp path from where retrieve files to be processed by Flume is ftp user's home directory. We actually think that retrieve just some files or a single subdirectory from ftp user's home directory is not an essential feature. Maybe in the future... You are welcome to modify source code to your needs. Regards.

OElesin commented 8 years ago

+1 for this

lucarosellini commented 8 years ago

Reopening issue: altough this feature is not essential for us, we'll definitely implement it. Cannot promise when btw.

NitinKumar94 commented 7 years ago

I had submitted a PR for this a long time back. PR #21 .. could you look into it. Thanks!

lazaromedina commented 7 years ago

PR#21 - close issue thanks