Created
July 17, 2013 16:13
-
-
Save clemensg/6022039 to your computer and use it in GitHub Desktop.
curl -o testfile --disable-eprt -P - --user usr:pw ftp://192.168.0.133/testfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
FTP 0x7f8a110058f0 (line 3271) state change from STOP to WAIT220 | |
FTP 0x7f8a110058f0 (line 848) state change from WAIT220 to USER | |
FTP 0x7f8a110058f0 (line 2646) state change from USER to PASS | |
FTP 0x7f8a110058f0 (line 860) state change from PASS to PWD | |
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 | |
Entry path is '/dd' | |
FTP 0x7f8a110058f0 (line 2963) state change from PWD to STOP | |
protocol connect phase DONE | |
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 | |
DO phase starts | |
DEBUG: In ftp_state_quote | |
FTP 0x7f8a110058f0 (line 1340) state change from STOP to PORT | |
Connect data stream actively | |
FTP 0x7f8a110058f0 (line 2131) state change from PORT to STOP | |
DEBUG: in ftp_dophase_done | |
DEBUG: in ftp_dophase_done | |
DO phase is complete2 | |
DEBUG: in ftp_do_more: /*download*/ , calling ftp_range | |
DEBUG: in ftp_do_more: calling ftp_nb_type | |
FTP 0x7f8a110058f0 (line 3607) state change from STOP to RETR_TYPE | |
DEBUG: in ftp_do_more: calling ftp_multi_statemach | |
DEBUG: in ftp_do_more: return 0 after ftp->transfer if-else | |
DEBUG: in ftp_domore_getsock | |
DEBUG: in ftp_domore_getsock | |
DEBUG: In ftp_state_quote | |
DEBUG: In ftp_state_quote, instate: FTP_RETR_PREQUOTE, ftpc->known_filesize=-1 | |
DEBUG: In ftp_state_quote, sending SIZE command | |
FTP 0x7f8a110058f0 (line 1795) state change from RETR_TYPE to RETR_SIZE | |
DEBUG: in ftp_do_more: error or no wait for data conn | |
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 | |
DEBUG: in ftp_domore_getsock | |
DEBUG: in ftp_domore_getsock | |
FTP 0x7f8a110058f0 (line 2348) state change from RETR_SIZE to RETR | |
DEBUG: in ftp_do_more: error or no wait for data conn | |
DEBUG: in ftp_domore_getsock | |
DEBUG: in ftp_domore_getsock | |
Maxdownload = -1 | |
Getting file with size: 42000 | |
Preparing for accepting server on data port | |
Checking for server connect | |
Data conn was not available immediately | |
FTP 0x7f8a110058f0 (line 2564) state change from RETR to STOP | |
DEBUG: in ftp_do_more: Need to wait for data conn | |
Checking for server connect | |
DEBUG: In ftp_do_more: ReceivedServerConnect not ok | |
DEBUG: in ftp_do_more: return 0 after ftp->transfer if-else | |
DEBUG: in ftp_domore_getsock | |
DEBUG: in ftp_domore_getsock | |
Checking for server connect | |
Ready to accept data connection from server | |
DEBUG: In ftp_do_more: ReceivedServerConnect ok | |
DEBUG: In AcceptServerConnect | |
Connection accepted from server | |
DEBUG: In ftp_do_more: Calling InitiateTransfer | |
DEBUG: In ftp_do_more: InitiateTransfer successful | |
DEBUG: in ftp_do_more: return 0 after ftp->transfer if-else | |
DEBUG: in ftp_domore_getsock | |
DEBUG: in ftp_domore_getsock | |
DEBUG: in ftp_do_more: /*download*/ , calling ftp_range | |
DEBUG: in ftp_do_more: calling ftp_nb_type | |
FTP 0x7f8a110058f0 (line 3602) state change from STOP to RETR_TYPE | |
DEBUG: In ftp_state_quote | |
DEBUG: In ftp_state_quote, instate: FTP_RETR_PREQUOTE, ftpc->known_filesize=-1 | |
DEBUG: In ftp_state_quote, sending SIZE command | |
FTP 0x7f8a110058f0 (line 1795) state change from RETR_TYPE to RETR_SIZE | |
DEBUG: in ftp_do_more: calling ftp_multi_statemach | |
DEBUG: in ftp_do_more: return 0 after ftp->transfer if-else | |
0 42000 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0 | |
DEBUG: in ftp_domore_getsock | |
DEBUG: in ftp_domore_getsock | |
FTP 0x7f8a110058f0 (line 2348) state change from RETR_SIZE to RETR | |
DEBUG: in ftp_do_more: error or no wait for data conn | |
0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0 | |
DEBUG: in ftp_domore_getsock | |
DEBUG: in ftp_domore_getsock | |
RETR response: 502 | |
DEBUG: in ftp_do_more: error or no wait for data conn | |
DEBUG: in ftp_done | |
Remembering we are in dir "" | |
0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0 | |
curl: (19) FTP: couldn't retrieve (RETR failed) the specified file | |
Received only partial file: 0 bytes | |
FTP 0x7f8a110058f0 (line 4247) state change from RETR to QUIT | |
FTP 0x7f8a110058f0 (line 3138) state change from QUIT to STOP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment