Fix remove async call
This commit is contained in:
parent
c687e2b9d2
commit
96e5c7c3b9
1 changed files with 1 additions and 1 deletions
|
|
@ -274,7 +274,7 @@ proc connect*[T](ftp: FtpBase[T]) =
|
||||||
assertReply(reply, "220")
|
assertReply(reply, "220")
|
||||||
while reply.continuesWith("-", 3): # handle multiline 220 message
|
while reply.continuesWith("-", 3): # handle multiline 220 message
|
||||||
assertReply(reply, "220")
|
assertReply(reply, "220")
|
||||||
reply = await ftp.expectReply()
|
reply = ftp.expectReply()
|
||||||
|
|
||||||
if ftp.user != "":
|
if ftp.user != "":
|
||||||
assertReply(ftp.send("USER " & ftp.user), "230", "331")
|
assertReply(ftp.send("USER " & ftp.user), "230", "331")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue