Skip to content
Permalink
Browse files
Why does USER command hang?
  • Loading branch information
sebbASF committed Aug 1, 2021
1 parent 83f471b commit da2afdfdd20c82dcf9f59f7bd107bc03a8f4ca06
Showing 1 changed file with 3 additions and 0 deletions.
@@ -206,6 +206,9 @@ private FTPSClient loginClient() throws SocketException, IOException {
assertEquals(SocketPort, client.getRemotePort());
//
trace(">>loginClient-login");
try {
Thread.sleep(1000); // See if a short sleep before USER command helps
} catch (InterruptedException e) {};
assertTrue(client.login("test", "test"));
assertClientCode(client);
//

0 comments on commit da2afdf

Please sign in to comment.