Phases
Phases to transfer a file
** [ Source ] & [Destination] [Phase] ** ** CWD & CWD [ MKD [ CWD ] ] 1 | Go to dir, create if needed. <ref>This means that creation of destination directories only occur once we try to transfer a valid file. If there are no files to transfer, the destination directory is not made. (However, if dskipempty is set to NO we should create it. Currently not implemented)</ref> ** CCSN/SSCN & [CCSN/SSCN] 2 | SSL, send to one of them. ** [PROT] & [PROT] 3 | SSL, go privacy, or not. ** TYPE & TYPE 4 | Set Binary, if needed. ** & SIZE 5 | Exists? Size? Resume? Res-Last? ** [PRET] & [PRET] 6 | If pre-transfer ** [PASV] & [PASV] 7 | Send pasv to one site ** [PORT] & [PORT] 8 | Send port to the other. ** [REST] & [REST] 9 | If resume, send restart point ** & STOR 10 | Attempt stor ** [RETR] & 11 | Attempt retr ** NOOP & NOOP 12 | Stop idle out until we are rdy
<references/>