タイトルとして、vsftpdに「require_ssl_reuse = NO」を設定すると、次の設定がうまく機能します。Spring Integration FTPを使用して、設定なしのFTPサーバー(vsftpd on ubuntu)を接続します。 "require_ssl_reuse = NO"
これは可能ですか?Spring Integration FTPを使用して、configs "require_ssl_reuse = NO"のないvsftpdに接続する方法はありますか?
例外:
Caused by: org.springframework.messaging.MessagingException: Failed to write to '/ftp/upload/test.txt.writing' while uploading the file; nested exception is java.io.IOException: Failed to write to '/ftp/upload/test.txt.writing'. Server replied with: 522 SSL connection failed; session reuse required: see require_ssl_reuse option in vsftpd.conf man page
はここに私の設定です:
<beans:bean id="ftpSessionFactory" class="org.springframework.integration.ftp.session.DefaultFtpsSessionFactory">
<beans:property name="host" value="202.101.1.106"/>
<beans:property name="port" value="21"/>
<beans:property name="username" value="tom"/>
<beans:property name="password" value="tom"/>
<beans:property name='clientMode' value='2'/>
<beans:property name='protocols' value='TLSv1, SSLv3'/>
</beans:bean>
[同じTLSセッションを使用してデータ接続するFTPSサーバに接続する方法](http://stackoverflow.com/questions/32398754/how-to-connect-to-ftps-server-with-data) -connection-using-same-tls-session) –