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

nlst command accept a dirname and return all the files on it #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

nlst command accept a dirname and return all the files on it #50

wants to merge 1 commit into from

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.

None yet

2 participants