02-24-2006 09:41 AM
C:\>ftp localhost
Connesso a pgranato
220 FTP server ready
Utente (pgranatonone)): admin
331 User name okay, need password for admin
Password:
230 User logged in, proceed
ftp> dir
200 Port OK
150 File status okay, about to open data connection
226 Closing data connection
ftp> mkdir pippo
550 Invalid path pippo
ftp> put testo.txt
200 Port OK
500 Invalid path
ftp>
05-09-2006 12:50 PM
Hello,
I have to report the same behaviour with my 1.2.1 alfresco linux install. I can access FTP… at least CONNECT to it with correct credentials.. but i cannot get even a root directory listing. "conexion closed" error like others reported on this thread.
Trying to immagine what could be the difference between ones who experience the problem and those who dont, i can report i changed the name of the root space. Could this harm? Could translated alfresco versions handle this differently?
I can access the files using the webclient and webdav (though not working everytime… i suspect windows is badly handling webdav drives, but the error message being "invalid folder", it could be linked with this FTP problem, isnt'it?)
05-12-2006 12:30 PM
05-12-2006 02:04 PM
Hi,
I just tried to reproduce the problem here with and without the <rootDirectory> setting. It worked ok here with WS-FTP and FileZilla FTP clients, and also using an ftp:// URL in IE6. I logged on as the admin user.
Cheers
Gary
05-12-2006 10:35 PM
Hi,
I just tried to reproduce the problem here with and without the <rootDirectory> setting. It worked ok here with WS-FTP and FileZilla FTP clients, and also using an ftp:// URL in IE6. I logged on as the admin user.
Cheers
Gary
/**
* Initialize the configuration using the configuration service
*/
public void init()
{
// check that all required properties have been set
if (authenticationManager == null)
{
throw new AlfrescoRuntimeException("Property 'authenticationManager' not set");
}
else if (m_authenticationComponent == null)
{
throw new AlfrescoRuntimeException("Property 'authenticationComponent' not set");
}
else if (authenticationService == null)
{
throw new AlfrescoRuntimeException("Property 'authenticationService' not set");
}
else if (m_nodeService == null)
{
throw new AlfrescoRuntimeException("Property 'nodeService' not set");
}
else if (m_personService == null)
{
throw new AlfrescoRuntimeException("Property 'personService' not set");
}
else if (m_transactionService == null)
{
throw new AlfrescoRuntimeException("Property 'transactionService' not set");
}
else if (diskInterface == null)
{
throw new AlfrescoRuntimeException("Property 'diskInterface' not set");
}
else if (configService == null)
{
throw new AlfrescoRuntimeException("Property 'configService' not set");
}
initialised = false;
// Create the configuration context
ConfigLookupContext configCtx = new ConfigLookupContext(ConfigArea);
// Set the platform type
determinePlatformType();
try
{
Config config = null;
try
{
// Process the CIFS server configuration
config = configService.getConfig(ConfigCIFS, configCtx);
processCIFSServerConfig(config);
}
catch(Throwable eCIFSConfigFailure)
{
// Configuration error
// Disable the CIFS server
setNetBIOSSMB(false);
setTcpipSMB(false);
setWin32NetBIOS(false);
setSMBServerEnabled(false);
if(eCIFSConfigFailure instanceof UnsatisfiedLinkError)
{
// Error accessing the Win32NetBIOS DLL code
logger.error("Error accessing Win32 NetBIOS, check DLL is on the path");
}
else
{
// configuration error
logger.error("Error configuring CIFS Server [" + eCIFSConfigFailure.getMessage()+"]", eCIFSConfigFailure);
}
}
try
{
// Process the FTP server configuration
config = configService.getConfig(ConfigFTP, configCtx);
processFTPServerConfig(config);
}
catch(Throwable eFtpConfigFailure)
{
// Configuration error
this.setFTPServerEnabled(false);
logger.error("Error configuring FTP Server [" + eFtpConfigFailure.getMessage()+"]", eFtpConfigFailure);
}
// Process the security configuration
config = configService.getConfig(ConfigSecurity, configCtx);
processSecurityConfig(config);
// Process the filesystems configuration
config = configService.getConfig(ConfigFilesystems, configCtx);
processFilesystemsConfig(config);
// Successful initialisation
initialised = true;
}
catch (Throwable ex)
{
// Configuration error
logger.error("File server configuration error [one or more filesystems may not be functioning properly], " + ex.getMessage(), ex);
}
}
05-13-2006 08:49 PM
09-28-2006 06:15 PM
tcp 0 0 :::6621 :::* LISTEN
<alfresco-config area="file-servers">
<config evaluator="string-compare" condition="CIFS Server">
<host name="${localname}_A"/>
<comment>Alfresco CIFS Server</comment>
<!– Set to the broadcast mask for the subnet –>
<broadcast>255.255.255.255</broadcast>
<!– Use Java socket based NetBIOS over TCP/IP and native SMB on linux –>
<tcpipSMB platforms="linux,solaris,macosx"/>
<netBIOSSMB platforms="linux,solaris,macosx"/>
<hostAnnounce interval="5"/>
<!– Use Win32 NetBIOS interface on Windows –>
<Win32NetBIOS/>
<Win32Announce interval="5"/>
<!–
<WINS>
<primary>1.2.3.4</primary>
<secondary>5.6.7.8</secondary>
</WINS>
–>
<sessionDebug flags="Negotiate,Socket"/>
</config>
<config evaluator="string-compare" condition="FTP Server">
<port>6621</port>
<!–
<allowAnonymous/>
<rootDirectory>/Alfresco</rootDirectory>
<debug flags="File,Search,Error,Directory,Info,DataPort"/>
–>
</config>
<config evaluator="string-compare" condition="Filesystems">
<filesystems>
<filesystem name="Alfresco">
<store>workspace://SpacesStore</store>
<rootPath>/app:company_home</rootPath>
<!– Add a URL file to each folder that links back to th
e web client –>
<urlFile>
<filename>__AlfrescoClient.url</filename>
<webpath>http://localhost:8080/alfresco/</webpath>
</urlFile>
<!– Mark locked files as offline –>
<offlineFiles/>
<!– Client side drag and drop application for check in/
out via CIFS –>
<!–
<dragAndDrop>
<filename>__Alfresco.exe</filename>
<path>alfresco/desktop/Alfresco.exe</path>
</dragAndDrop>
–>
<!–
<accessControl default="Write">
<user name="admin" access="Write"/>
<address subnet="90.1.0.0" mask="255.255.0.0" access="Write"/>
</accessControl>
–>
</filesystem>
</filesystems>
</config>
<config evaluator="string-compare" condition="Filesystem Security">
<authenticator type="alfresco">
</authenticator>
<!–
<globalAccessControl default="None">
<user name="admin" access="Write"/>
<address ip="90.1.0.90" access="Write"/>
</globalAccessControl>
<users>
<localuser name="user">
<password>user</password>
<comment>Normal user account</comment>
</localuser>
<localuser name="administrator">
<password>admin</password>
<administrator/>
<comment>Administrator account</comment>
</localuser>
</users>
–>
</config>
</alfresco-config>
07-12-2011 06:28 AM
07-26-2012 09:55 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.