I was using ftp and successfully connecting to the host. Then I do
mget test.tar.gz
Even though it successfully test.tar.gz, I have to check the size of the file manually with ls -l command in the other terminal. Is there any way that mget or some other command will indicate to me that the transfer of the file is complete.
It depends a bit on the implementation of the FTP server, but in most cases you should receive something like
250 transfer complete.
250
basically is the return code for Requested file action okay, completed. while the text messages differ sometimes between servers.
In order to make sure you see all the return codes, run your ftp with -v
, which enables verbose mode. This forces ftp
(and many other linux ftp clients I know of) to show all responses from the remote server, as well as report on data transfer statistics.
A list of most server return codes can be found here.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다