add 125 to list of expected return codes when receiving data in net/ftp
original commit: c52b70244d23d77f1813b981939d69a8cea0b125
This commit is contained in:
parent
5181e32581
commit
92dc246a0e
|
@ -178,7 +178,7 @@
|
|||
(fprintf (ftp-connection-out tcp-ports) "LIST\n")
|
||||
(ftp-check-response (ftp-connection-in tcp-ports)
|
||||
(ftp-connection-out tcp-ports)
|
||||
#"150" void (void))
|
||||
(list #"150" #"125") void (void))
|
||||
(let ([dir-list (filter-tcp-data tcp-data re:dir-line)])
|
||||
(close-input-port tcp-data)
|
||||
(ftp-check-response (ftp-connection-in tcp-ports)
|
||||
|
@ -205,7 +205,7 @@
|
|||
(display tcpstring (ftp-connection-out tcp-ports))
|
||||
(ftp-check-response (ftp-connection-in tcp-ports)
|
||||
(ftp-connection-out tcp-ports)
|
||||
#"150" print-msg (void))
|
||||
(list #"125" #"150") print-msg (void))
|
||||
(copy-port tcp-data new-file)
|
||||
(close-output-port new-file)
|
||||
(close-input-port tcp-data)
|
||||
|
|
Loading…
Reference in New Issue
Block a user