mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-09-17 14:21:39 +00:00
Fix bug in FTP root folder listing.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2328 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1219,7 +1219,7 @@ public class FTPSrvSession extends SrvSession implements Runnable
|
|||||||
// Create the path for the file listing
|
// Create the path for the file listing
|
||||||
|
|
||||||
FTPPath ftpPath = m_cwd;
|
FTPPath ftpPath = m_cwd;
|
||||||
if (req.hasArgument())
|
if ( req.hasArgument())
|
||||||
ftpPath = generatePathForRequest(req, true);
|
ftpPath = generatePathForRequest(req, true);
|
||||||
|
|
||||||
if (ftpPath == null)
|
if (ftpPath == null)
|
||||||
@@ -2979,7 +2979,7 @@ public class FTPSrvSession extends SrvSession implements Runnable
|
|||||||
if ( getClientInformation().isGuest())
|
if ( getClientInformation().isGuest())
|
||||||
shares = getDynamicShareList();
|
shares = getDynamicShareList();
|
||||||
else
|
else
|
||||||
getShareList();
|
shares = getShareList();
|
||||||
|
|
||||||
if (shares != null)
|
if (shares != null)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user