mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fix processing of SIZE command, not passing the session object to the getFileInformation() call (AR-443).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2455 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -31,7 +31,6 @@ import java.util.Enumeration;
|
|||||||
import java.util.StringTokenizer;
|
import java.util.StringTokenizer;
|
||||||
import java.util.Vector;
|
import java.util.Vector;
|
||||||
|
|
||||||
import javax.transaction.Status;
|
|
||||||
import javax.transaction.UserTransaction;
|
import javax.transaction.UserTransaction;
|
||||||
|
|
||||||
import org.alfresco.filesys.server.SrvSession;
|
import org.alfresco.filesys.server.SrvSession;
|
||||||
@@ -2866,7 +2865,7 @@ public class FTPSrvSession extends SrvSession implements Runnable
|
|||||||
|
|
||||||
// Get the file information
|
// Get the file information
|
||||||
|
|
||||||
FileInfo finfo = disk.getFileInformation(null, tree, ftpPath.getSharePath());
|
FileInfo finfo = disk.getFileInformation(this, tree, ftpPath.getSharePath());
|
||||||
|
|
||||||
if (finfo == null)
|
if (finfo == null)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user