Skip to content
This repository was archived by the owner on Mar 3, 2021. It is now read-only.

Conversation

@pacoguzman
Copy link

Will using the gem we realised that some of our listing commands do not behave as they are working against actual FTP servers.

connection = Net::FTP.new('host', 'user', 'password')
connection.nlst('unprocessed')

The previous code return the list of all the files inside the unprocessed folder on the FTP server, but using FakeFtp as that command has no wildcards it does not work as expected.

Probably we can change the code on our side, but we think this change is minimum and make FakeFtp closer to an actual FTP server.

@mainameiz
Copy link

mainameiz commented Mar 19, 2018

Face the same issue. Thanks for bugfix!

@mainameiz
Copy link

I find fully featured ftpd server which can be embedded in tests https://github.com/wconrad/ftpd

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants