Code:
[16:52:15] Status: Connecting to 212.62.37.8 ...
[16:52:15] Status: Connected with 212.62.37.8. Waiting for welcome message...
[16:52:18] Response: 220 (vsFTPd 2.0.5)
[16:52:18] Command: USER ######
[16:52:18] Response: 331 Please specify the password.
[16:52:18] Command: PASS ******
[16:52:18] Response: 230 Login successful.
[16:52:18] Command: SYST
[16:52:19] Response: 215 UNIX Type: L8
[16:52:19] Status: Connected
[16:52:19] Status: Retrieving directory listing...
[16:52:19] Command: PWD
[16:52:19] Response: 257 "/"
[16:52:19] Command: TYPE A
[16:52:19] Response: 200 Switching to ASCII mode.
[16:52:19] Command: PASV
[16:52:20] Response: 550 Permission denied.
[16:52:20] Error: Could not retrieve directory listing
[16:52:39] Command: REST 0
[16:52:39] Response: 350 Restart position accepted (0).
[16:52:15] Status: Connecting to 212.62.37.8 ...
[16:52:15] Status: Connected with 212.62.37.8. Waiting for welcome message...
[16:52:18] Response: 220 (vsFTPd 2.0.5)
[16:52:18] Command: USER ######
[16:52:18] Response: 331 Please specify the password.
[16:52:18] Command: PASS ******
[16:52:18] Response: 230 Login successful.
[16:52:18] Command: SYST
[16:52:19] Response: 215 UNIX Type: L8
[16:52:19] Status: Connected
[16:52:19] Status: Retrieving directory listing...
[16:52:19] Command: PWD
[16:52:19] Response: 257 "/"
[16:52:19] Command: TYPE A
[16:52:19] Response: 200 Switching to ASCII mode.
[16:52:19] Command: PASV
[16:52:20] Response: 550 Permission denied.
[16:52:20] Error: Could not retrieve directory listing
[16:52:39] Command: REST 0
[16:52:39] Response: 350 Restart position accepted (0).
dakle, kako da dobijem listu fajlova?
ocito da PASV nece na ovom serveru, koju drugu komandu da koristim? (nikada do sad nisam ni obracao paznju na log, tako da mozete da pretpostavite koliko znam o ftp komandama)
evo sta je HELP dao:
Code:
[16:52:47] Command: HELP
[16:52:54] Response: 214-The following commands are recognized.
[16:52:54] Response: ABOR ACCT ALLO APPE CDUP CWD DELE EPRT EPSV FEAT HELP LIST MDTM MKD
[16:52:54] Response: MODE NLST NOOP OPTS PASS PASV PORT PWD QUIT REIN REST RETR RMD RNFR
[16:52:54] Response: RNTO SITE SIZE SMNT STAT STOR STOU STRU SYST TYPE USER XCUP XCWD XMKD
[16:52:54] Response: XPWD XRMD
[16:52:54] Response: 214 Help OK.
[16:52:47] Command: HELP
[16:52:54] Response: 214-The following commands are recognized.
[16:52:54] Response: ABOR ACCT ALLO APPE CDUP CWD DELE EPRT EPSV FEAT HELP LIST MDTM MKD
[16:52:54] Response: MODE NLST NOOP OPTS PASS PASV PORT PWD QUIT REIN REST RETR RMD RNFR
[16:52:54] Response: RNTO SITE SIZE SMNT STAT STOR STOU STRU SYST TYPE USER XCUP XCWD XMKD
[16:52:54] Response: XPWD XRMD
[16:52:54] Response: 214 Help OK.
hvala unapred!