PDA

View Full Version : A question about login


cnmv
06-13-2005, 12:47 AM
I'm curious to know about how whenever I log into my ioFTPD server one of the things it says is:
350 Restarting at 100. Send STORE or RETRIEVE to initiate transfer.
350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer.
I was wondering what these rest pauses did. I am really enjoying ioFTPD and this is one of the things I have yet to figure out. Thanks a bunch in advance.

Harm
06-13-2005, 02:29 AM
This isn't ioFTPD alone. Your FTP client send those command to know if the FTP server you're connecting to supports resume or not.

[09:24:24] [R] REST 100
[09:24:24] [R] 350 Restarting at 100. Send STORE or RETRIEVE to initiate transfer.
[09:24:24] [R] REST 0
[09:24:24] [R] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer.

If the client receives a positive answer to the REST 100 command, then the server supports it ; otherwise, it doesn't. The REST 0 command is then issued to make sure you won't try to resume a file you haven't started to transfer.