<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: FTP Connection In Installed Alfresco in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/ftp-connection-in-installed-alfresco/m-p/139783#M37372</link>
    <description>&lt;P&gt;I am seeing the same issue in my ftp connection and logs.&lt;/P&gt;&lt;P&gt;If you look up the here mentioned nullpointer exception in class org.alfresco.jlan.ftp FTPRequest it is the variable cmdLine that is null:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;protected final void &lt;/SPAN&gt;&lt;SPAN&gt;parseCommandLine&lt;/SPAN&gt;(String cmdLine) {&lt;BR /&gt;      &lt;SPAN&gt;int &lt;/SPAN&gt;pos = cmdLine.indexOf(&lt;SPAN&gt;' '&lt;/SPAN&gt;)&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I have tried the following but it had no effect:&lt;/P&gt;&lt;P&gt;* ports 21 or 2121&lt;/P&gt;&lt;P&gt;* add data ports (ftp.dataPortFrom=3022 ftp.dataPortTo=3052)&lt;/P&gt;&lt;P&gt;* active or passive mode&lt;/P&gt;&lt;P&gt;* disabling/enabling kerberos.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone who knows what is causing the ftprequest command to become null ?&lt;/P&gt;</description>
    <pubDate>Wed, 23 Feb 2022 14:06:35 GMT</pubDate>
    <dc:creator>stefan2</dc:creator>
    <dc:date>2022-02-23T14:06:35Z</dc:date>
    <item>
      <title>FTP Connection In Installed Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ftp-connection-in-installed-alfresco/m-p/139776#M37365</link>
      <description>&lt;P&gt;Hey guys,&lt;BR /&gt;I am not able to enable FTP within Alfresco.&lt;BR /&gt;I followed two documentation that I found on the Internet. However, it did not work.&lt;/P&gt;&lt;P&gt;&lt;A href="http://formtektips.blogspot.com/2018/11/set-up-and-configure-ftps-with-alfresco.html" target="_blank" rel="nofollow noopener noreferrer"&gt;http://formtektips.blogspot.com/2018/11/set-up-and-configure-ftps-with-alfresco.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=ZLOub8xfH1s" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.youtube.com/watch?v=ZLOub8xfH1s&lt;/A&gt;&lt;/P&gt;&lt;P&gt;See the screen prints.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="print-tela-ftp1.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1039iA2118F6D2AE09BD6/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="print-tela-ftp2.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1041iB0C0424F6ED572E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="print-tela-ftp3.png" style="width: 803px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1043i3F6C4D0D3F0805E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="print-tela-ftp4.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1045i9448F10AF0F7BE4A/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Error log in catalina.out&lt;/P&gt;&lt;P&gt;root@note-jbrasil:~# tail -f /opt/alfresco/tomcat/logs/catalina.out&lt;/P&gt;&lt;P&gt;2021-04-22 08:09:56,644 ERROR [org.alfresco.fileserver] [Sess_FTP1_192.168.100.28] Error from JLAN&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt;at org.alfresco.jlan.ftp.FTPRequest.parseCommandLine(FTPRequest.java:124)&lt;BR /&gt;at org.alfresco.jlan.ftp.FTPRequest.&amp;lt;init&amp;gt;(FTPRequest.java:66)&lt;BR /&gt;at org.alfresco.jlan.ftp.FTPSrvSession.getNextCommand(FTPSrvSession.java:4581)&lt;BR /&gt;at org.alfresco.jlan.ftp.FTPSrvSession.run(FTPSrvSession.java:5047)&lt;BR /&gt;at java.lang.Thread.run(Thread.java:748)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Configuration in alfresco-global.properties&lt;/P&gt;&lt;P&gt;### FTP Server Configuration ###&lt;BR /&gt;ftp.enabled=true&lt;BR /&gt;ftp.port=2121&lt;BR /&gt;ftp.ipv6.enabled=false&lt;BR /&gt;ftp.keyStore=/root/.keystore&lt;BR /&gt;ftp.trustStore=/root/.truststore&lt;BR /&gt;ftp.keyStorePassphrase=secret&lt;BR /&gt;ftp.trustStorePassphrase=secret&lt;BR /&gt;ftp.requireSecureSession=true&lt;/P&gt;&lt;P&gt;# FTP server debugging&lt;BR /&gt;log4j.logger.org.alfresco.ftp.protocol=debug&lt;BR /&gt;log4j.logger.org.alfresco.ftp.server=debug&lt;/P&gt;&lt;P&gt;Version do Alfresco:&lt;BR /&gt;Community - 6.1.1 (r9d03d2fd-b168)&lt;/P&gt;&lt;P&gt;Am I doing something wrong?&lt;BR /&gt;Can you help?&lt;BR /&gt;With best regards,&lt;BR /&gt;José Roberto&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 11:54:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ftp-connection-in-installed-alfresco/m-p/139776#M37365</guid>
      <dc:creator>jbrasil</dc:creator>
      <dc:date>2021-04-22T11:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Connection In Installed Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ftp-connection-in-installed-alfresco/m-p/139777#M37366</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Are you using docker version or manual install?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 15:59:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ftp-connection-in-installed-alfresco/m-p/139777#M37366</guid>
      <dc:creator>arjunmony</dc:creator>
      <dc:date>2021-04-22T15:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Connection In Installed Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ftp-connection-in-installed-alfresco/m-p/139778#M37367</link>
      <description>&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;Hey,&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;I am using manual installation.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 16:25:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ftp-connection-in-installed-alfresco/m-p/139778#M37367</guid>
      <dc:creator>jbrasil</dc:creator>
      <dc:date>2021-04-22T16:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Connection In Installed Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ftp-connection-in-installed-alfresco/m-p/139779#M37368</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Based on the configuration in your alfresco you should have the 2121 port open. Please check and confirm that first using the below command.&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;netstat -aon&lt;/PRE&gt;&lt;P&gt;In default the port (21) will be in open state, so let's update the global properties ftp.port value to 21 and lets see. I have tried the same in my manual install and its worked perfectly for me without any issues.&lt;/P&gt;&lt;PRE&gt;ftp.port=21
ftp.enabled=true
ftp.server.enables=true&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FTP.JPG" style="width: 808px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1046i26C6D1DC986D4AC7/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 21:11:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ftp-connection-in-installed-alfresco/m-p/139779#M37368</guid>
      <dc:creator>arjunmony</dc:creator>
      <dc:date>2021-04-23T21:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Connection In Installed Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ftp-connection-in-installed-alfresco/m-p/139780#M37369</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;What version of Alfresco community edition are you using?&lt;BR /&gt;What version of your Linux?&lt;BR /&gt;Did you install Alfresco via shell script from the loftuxab website?&lt;BR /&gt;&lt;A href="https://github.com/loftuxab/alfresco-ubuntu-install" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/loftuxab/alfresco-ubuntu-install&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It still didn't work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;root @ note-jbrasil: ~ # netstat -aon | grep -i "2121" | more&lt;/P&gt;&lt;P&gt;root @ note-jbrasil: / opt / alfresco / tomcat / shared / classes # netstat -aon | grep -i "2121" | more&lt;BR /&gt;tcp6 0 0 ::: 2121 ::: * HEAR OFF (0.00 / 0/0)&lt;BR /&gt;tcp6 0 0 192.168.100.28:2121 192.168.100.28:41744 TIME_WAIT timewait (55.64 / 0/0)&lt;/P&gt;&lt;P&gt;### FTP Server Configuration ###&lt;BR /&gt;ftp.port = 2121&lt;BR /&gt;ftp.enabled = true&lt;BR /&gt;ftp.server.enabled = true&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;root @ note-jbrasil: / home / jbrasil # tail -f /opt/alfresco/tomcat/logs/catalina.out | grep -i "ftp"&lt;/P&gt;&lt;P&gt;2021-04-26 14: 05: 41,363 ERROR [org.alfresco.fileserver] [Sess_FTP5_192.168.100.28] Error from JLAN&lt;BR /&gt;at org.alfresco.jlan.ftp.FTPRequest.parseCommandLine (FTPRequest.java:124)&lt;BR /&gt;at org.alfresco.jlan.ftp.FTPRequest. &amp;lt;init&amp;gt; (FTPRequest.java:66)&lt;BR /&gt;at org.alfresco.jlan.ftp.FTPSrvSession.getNextCommand (FTPSrvSession.java:4581)&lt;BR /&gt;at org.alfresco.jlan.ftp.FTPSrvSession.run (FTPSrvSession.java:5047)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Am I doing something wrong?&lt;BR /&gt;Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 17:19:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ftp-connection-in-installed-alfresco/m-p/139780#M37369</guid>
      <dc:creator>jbrasil</dc:creator>
      <dc:date>2021-04-26T17:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Connection In Installed Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ftp-connection-in-installed-alfresco/m-p/139781#M37370</link>
      <description>&lt;P&gt;I'm also using Alfresco 6.2 Manual install but windows machine. As i already said please change the port to 21 and give a try.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 17:51:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ftp-connection-in-installed-alfresco/m-p/139781#M37370</guid>
      <dc:creator>arjunmony</dc:creator>
      <dc:date>2021-04-26T17:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Connection In Installed Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ftp-connection-in-installed-alfresco/m-p/139782#M37371</link>
      <description>&lt;P&gt;Hey,&lt;BR /&gt;I changed to port 21.&lt;BR /&gt;The incorrect login message is login incorrect.&lt;BR /&gt;I'm using the same username and password that I authenticate with Alfresco.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Login incorrect" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1047i4796320C533103BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Login incorrect&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;I followed the documentation on that site:&lt;/P&gt;&lt;P&gt;&lt;A href="http://formtektips.blogspot.com/2018/11/set-up-and-configure-ftps-with-alfresco.html" target="_blank" rel="nofollow noopener noreferrer"&gt;http://formtektips.blogspot.com/2018/11/set-up-and-configure-ftps-with-alfresco.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Parameters in alfresco-global-properties:&lt;/P&gt;&lt;P&gt;### FTP Server Configuration ###&lt;BR /&gt;ftp.port=21&lt;BR /&gt;ftp.enabled=true&lt;BR /&gt;ftp.ipv6.enabled=false&lt;BR /&gt;ftp.keyStore=/root/.keystore&lt;BR /&gt;ftp.trustStore=/root/.truststore&lt;BR /&gt;ftp.keyStorePassphrase=secret&lt;BR /&gt;ftp.trustStorePassphrase=secret&lt;BR /&gt;ftp.requireSecureSession=true&lt;/P&gt;&lt;P&gt;View the logs:&lt;/P&gt;&lt;P&gt;root@note-jbrasil:/opt/alfresco/scripts# tail -f /opt/alfresco/tomcat/logs/catalina.out | grep -i "ftp"&lt;/P&gt;&lt;P&gt;2021-04-27 09:14:11,949 INFO [alfresco.ftp.server] [localhost-startStop-1] Starting server FTP ...&lt;BR /&gt;2021-04-27 09:14:11,950 ERROR [org.alfresco.fileserver] [FTP Server] [FTP] FTP Socket error : java.net.BindException: Permissão negada (Bind failed)&lt;BR /&gt;2021-04-27 09:14:11,951 ERROR [org.alfresco.fileserver] [FTP Server] Error from JLAN&lt;BR /&gt;at org.alfresco.jlan.ftp.FTPServer.run(FTPServer.java:554)&lt;/P&gt;&lt;P&gt;root@note-jbrasil:/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes# netstat -aon | grep -i "192.168.100.28:21" | more&lt;/P&gt;&lt;P&gt;tcp 0 0 192.168.100.28:53866 192.168.100.28:21 TIME_WAIT timewait (37,11/0/0)&lt;BR /&gt;tcp 0 0 192.168.100.28:53868 192.168.100.28:21 TIME_WAIT timewait (56,13/0/0)&lt;/P&gt;&lt;P&gt;Am I doing something wrong?&lt;BR /&gt;Thanks a lot!!&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 12:25:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ftp-connection-in-installed-alfresco/m-p/139782#M37371</guid>
      <dc:creator>jbrasil</dc:creator>
      <dc:date>2021-04-27T12:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Connection In Installed Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ftp-connection-in-installed-alfresco/m-p/139783#M37372</link>
      <description>&lt;P&gt;I am seeing the same issue in my ftp connection and logs.&lt;/P&gt;&lt;P&gt;If you look up the here mentioned nullpointer exception in class org.alfresco.jlan.ftp FTPRequest it is the variable cmdLine that is null:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;protected final void &lt;/SPAN&gt;&lt;SPAN&gt;parseCommandLine&lt;/SPAN&gt;(String cmdLine) {&lt;BR /&gt;      &lt;SPAN&gt;int &lt;/SPAN&gt;pos = cmdLine.indexOf(&lt;SPAN&gt;' '&lt;/SPAN&gt;)&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I have tried the following but it had no effect:&lt;/P&gt;&lt;P&gt;* ports 21 or 2121&lt;/P&gt;&lt;P&gt;* add data ports (ftp.dataPortFrom=3022 ftp.dataPortTo=3052)&lt;/P&gt;&lt;P&gt;* active or passive mode&lt;/P&gt;&lt;P&gt;* disabling/enabling kerberos.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone who knows what is causing the ftprequest command to become null ?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 14:06:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ftp-connection-in-installed-alfresco/m-p/139783#M37372</guid>
      <dc:creator>stefan2</dc:creator>
      <dc:date>2022-02-23T14:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Connection In Installed Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ftp-connection-in-installed-alfresco/m-p/139784#M37373</link>
      <description>&lt;P&gt;Finally figured this one out:&lt;/P&gt;&lt;P&gt;The FTP problem with the nullpointer when parsing the commandstring appeared when we upgraded java to minor version 1.8.322 . The parsing of the command is done by a UTF-8 library called ICU4J. My Alfresco 5.2 ships with an old icu4j version (2007) that contains a bug where it can not initialise because it tries to parse the java minor version into a number lesser then 256:&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/64040255/invalid-version-number-version-number-may-be-negative-or-greater-than-255" target="_blank" rel="nofollow noopener noreferrer"&gt;https://stackoverflow.com/questions/64040255/invalid-version-number-version-number-may-be-negative-or-greater-than-255&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So basically for fixing it you have two options:&lt;/P&gt;&lt;P&gt;* downgrade java to minor 255 or less.&amp;nbsp;&lt;/P&gt;&lt;P&gt;* upgrade ICU4j to version 68.1 or higher.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I took the second solution, so far I haven t seen any incompatibilities for ICU4J version 68.2&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 14:46:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ftp-connection-in-installed-alfresco/m-p/139784#M37373</guid>
      <dc:creator>stefan2</dc:creator>
      <dc:date>2022-03-04T14:46:18Z</dc:date>
    </item>
  </channel>
</rss>

