You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Finder seems not to work with FTP. I use it as describe in Finder doc like this :
$finder->in('ftp://example.com/pub/');
but I get this error :
[ErrorException]
Warning: FilesystemIterator::rewind(): stream does not support seeking
in D:\www\vendor\symfony\symfony\src\Symfony\Component\Finder\Iterator\FilterIterator.php line 35
Local use of in like this work, so do you have any idea ??
->in('bundles/AcmeDemo/');
The text was updated successfully, but these errors were encountered:
This PR was squashed before being merged into the 2.1 branch (closes
Discussion
----------
[Finder] Fix iteration fails with non-rewindable streams
<table>
<tr>
<th>Q</th><th>A</th>
</tr>
<tr>
<td>Bug fix?</td><td>yes</td>
</tr>
<tr>
<td>New feature?</td><td>no</td>
</tr>
<tr>
<td>BC breaks?</td><td>no</td>
</tr>
<tr>
<td>Deprecations?</td><td>no</td>
</tr>
<tr>
<td>Tests pass?</td><td>yes</td>
</tr>
<tr>
<td>Fixed tickets</td><td>#3585, #7834</td>
</tr>
<tr>
<td>License?</td><td>MIT</td>
</tr>
</table>
- [x] Add a good detection of non seekable stream
- [x] Add some unit tests
But the iteration under ftp stream still not work properly. Edit: need
tests for that.
Commits
-------
169c0b9 [Finder] Fix iteration fails with non-rewindable streams
Hello,
Finder seems not to work with FTP. I use it as describe in Finder doc like this :
but I get this error :
Local use of in like this work, so do you have any idea ??
The text was updated successfully, but these errors were encountered: