Commit 5c3dd054 authored by Rasko Leinonen's avatar Rasko Leinonen

FTPS remoteVerificationEnabled set to false and activePortRange set to 40000,50000.

parent 0ed27e4b
......@@ -38,7 +38,8 @@ public class FtpService implements UploadService {
@Override public void connect(String userName, String password) {
try {
ftpClient.setActivePortRange(40000, 50000);
ftpClient.connect(SERVER, FTP_PORT);
} catch (IOException e) {
throw WebinCliException.systemError(WebinCliMessage.FTP_CONNECT_ERROR.text());
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment