Delete file in VxWorks server
Moderator: Project members
-
- 500 Command not understood
- Posts: 2
- Joined: 2006-05-08 13:56
Delete file in VxWorks server
I cannot delete files at VxWorks server, it says file not found or permission denied. In a windows command prompt I succeeded to delete. (In the permission colunm I see the string "size").
-
- 500 Command not understood
- Posts: 2
- Joined: 2006-05-08 13:56
Here is the log:
I connect, copy a file, and then try to delete it.
Status: Connecting to 172.20.7.8 ...
Trace: FtpControlSocket.cpp(938): OnConnect(0) OpMode=1 OpState=-1 caller=0x00dad184
Status: Connected with 172.20.7.8. Waiting for welcome message...
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=1 OpState=-1 caller=0x00dad184
Response: 220 VxWorks (5.4.2) FTP server ready
Command: USER anonymous
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=1 OpState=0 caller=0x00dad184
Response: 331 Password required
Command: PASS *****
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=1 OpState=3 caller=0x00dad184
Response: 230 User logged in
Command: FEAT
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=1 OpState=-13 caller=0x00dad184
Response: 500 Command not recognized
Command: SYST
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=1 OpState=-14 caller=0x00dad184
Response: 500 Command not recognized
Status: Connected
Trace: FtpControlSocket.cpp(3918): ResetOperation(1) OpMode=1 OpState=-14 caller=0x00dad184
Trace: FtpControlSocket.cpp(1150): List(FALSE,0,"","",1) OpMode=0 OpState=-1 caller=0x00dad184
Status: Retrieving directory listing...
Command: PWD
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=4 OpState=0 caller=0x00dad184
Response: 257 Current directory is "9.0.1/"
Trace: FtpControlSocket.cpp(1150): List(FALSE,0,"","",0) OpMode=4 OpState=0 caller=0x00dad184
Command: TYPE A
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=4 OpState=8 caller=0x00dad184
Response: 200 Type set to A, ASCII mode
Trace: FtpControlSocket.cpp(1150): List(FALSE,0,"","",0) OpMode=4 OpState=8 caller=0x00dad184
Command: PASV
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=4 OpState=7 caller=0x00dad184
Response: 227 Entering Passive Mode (172,20,7,8,4,5)
Trace: FtpControlSocket.cpp(1150): List(FALSE,0,"","",0) OpMode=4 OpState=7 caller=0x00dad184
Trace: TransferSocket.cpp(577): SetActive() caller=0x00daf6fc
Command: LIST
Trace: TransferSocket.cpp(465): OnConnect(0) caller=0x00daf6fc
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=4 OpState=9 caller=0x00dad184
Response: 150 Opening ASCII mode data connection
Trace: FtpControlSocket.cpp(1150): List(FALSE,0,"","",0) OpMode=4 OpState=9 caller=0x00dad184
Trace: TransferSocket.cpp(537): OnClose(0) caller=0x00daf6fc
Trace: TransferSocket.cpp(1158): Close() caller=0x00daf6fc
Trace: TransferSocket.cpp(1158): Close() caller=0x00daf6fc
Trace: FtpControlSocket.cpp(1901): TransferEnd(4) OpMode=4 OpState=10 caller=0x00dad184
Trace: FtpControlSocket.cpp(1150): List(TRUE,0,"","",0) OpMode=4 OpState=10 caller=0x00dad184
Trace: size date time name
Trace: -------- ------ ------ --------
Trace: 382976 Jan-01-1980 00:00:00 BOOTROM.SYS
Trace: 847 Jan-01-1980 00:00:00 CONFIG.DAT
Trace: 512 Jan-01-1980 00:00:00 ERR_FILE <DIR>
Trace: 512 Jan-01-1980 00:00:00 LOG_FILE <DIR>
Trace: 512 Jan-01-1980 00:00:00 NET <DIR>
Trace: 1395823 Jan-01-1980 00:00:00 VXWORKS
Trace: 47310 Jan-01-1980 00:00:00 WOLA.DAT
Trace: TransferSocket.cpp(97): ~CTransferSocket() caller=0x00daf6fc
Trace: TransferSocket.cpp(1158): Close() caller=0x00daf6fc
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=4 OpState=10 caller=0x00dad184
Response: 226 Transfer complete
Trace: FtpControlSocket.cpp(1150): List(FALSE,0,"","",0) OpMode=4 OpState=10 caller=0x00dad184
Status: Directory listing successful
Trace: FtpControlSocket.cpp(3918): ResetOperation(1) OpMode=4 OpState=10 caller=0x00dad184
Trace: FtpControlSocket.cpp(1936): FileTransfer(14342896, FALSE, 0) OpMode=0 OpState=-1 caller=0x00dad184
Status: Starting upload of D:\Bezalel\CONFIGY.DAT
Command: TYPE I
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=40 OpState=13 caller=0x00dad184
Response: 200 Type set to I, binary mode
Trace: FtpControlSocket.cpp(1936): FileTransfer(0, FALSE, 0) OpMode=40 OpState=13 caller=0x00dad184
Command: PASV
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=40 OpState=17 caller=0x00dad184
Response: 227 Entering Passive Mode (172,20,7,8,4,6)
Trace: FtpControlSocket.cpp(1936): FileTransfer(0, FALSE, 0) OpMode=40 OpState=17 caller=0x00dad184
Command: STOR CONFIGY.DAT
Trace: TransferSocket.cpp(465): OnConnect(0) caller=0x00daf6fc
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=40 OpState=18 caller=0x00dad184
Response: 150 Opening BINARY mode data connection
Trace: FtpControlSocket.cpp(1936): FileTransfer(0, FALSE, 0) OpMode=40 OpState=18 caller=0x00dad184
Trace: TransferSocket.cpp(577): SetActive() caller=0x00daf6fc
Trace: TransferSocket.cpp(465): OnConnect(0) caller=0x00daf6fc
Trace: TransferSocket.cpp(1158): Close() caller=0x00daf6fc
Trace: FtpControlSocket.cpp(1901): TransferEnd(40) OpMode=40 OpState=19 caller=0x00dad184
Trace: FtpControlSocket.cpp(1936): FileTransfer(0, TRUE, 0) OpMode=40 OpState=19 caller=0x00dad184
Trace: TransferSocket.cpp(97): ~CTransferSocket() caller=0x00daf6fc
Trace: TransferSocket.cpp(1158): Close() caller=0x00daf6fc
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=40 OpState=19 caller=0x00dad184
Response: 226 Transfer complete
Trace: FtpControlSocket.cpp(1936): FileTransfer(0, FALSE, 0) OpMode=40 OpState=19 caller=0x00dad184
Trace: FtpControlSocket.cpp(3918): ResetOperation(1) OpMode=40 OpState=19 caller=0x00dad184
Status: Upload successful
Trace: FtpControlSocket.cpp(1150): List(FALSE,0,"/9.0.1/","",9) OpMode=0 OpState=-1 caller=0x00dad184
Status: Retrieving directory listing...
Command: TYPE A
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=4 OpState=8 caller=0x00dad184
Response: 200 Type set to A, ASCII mode
Trace: FtpControlSocket.cpp(1150): List(FALSE,0,"","",0) OpMode=4 OpState=8 caller=0x00dad184
Command: PASV
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=4 OpState=7 caller=0x00dad184
Response: 227 Entering Passive Mode (172,20,7,8,4,7)
Trace: FtpControlSocket.cpp(1150): List(FALSE,0,"","",0) OpMode=4 OpState=7 caller=0x00dad184
Trace: TransferSocket.cpp(577): SetActive() caller=0x00daf6fc
Command: LIST
Trace: TransferSocket.cpp(465): OnConnect(0) caller=0x00daf6fc
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=4 OpState=9 caller=0x00dad184
Response: 150 Opening ASCII mode data connection
Trace: FtpControlSocket.cpp(1150): List(FALSE,0,"","",0) OpMode=4 OpState=9 caller=0x00dad184
Trace: TransferSocket.cpp(537): OnClose(0) caller=0x00daf6fc
Trace: TransferSocket.cpp(1158): Close() caller=0x00daf6fc
Trace: TransferSocket.cpp(1158): Close() caller=0x00daf6fc
Trace: FtpControlSocket.cpp(1901): TransferEnd(4) OpMode=4 OpState=10 caller=0x00dad184
Trace: FtpControlSocket.cpp(1150): List(TRUE,0,"","",0) OpMode=4 OpState=10 caller=0x00dad184
Trace: size date time name
Trace: -------- ------ ------ --------
Trace: 382976 Jan-01-1980 00:00:00 BOOTROM.SYS
Trace: 847 Jan-01-1980 00:00:00 CONFIG.DAT
Trace: 512 Jan-01-1980 00:00:00 ERR_FILE <DIR>
Trace: 512 Jan-01-1980 00:00:00 LOG_FILE <DIR>
Trace: 512 Jan-01-1980 00:00:00 NET <DIR>
Trace: 1395823 Jan-01-1980 00:00:00 VXWORKS
Trace: 47310 Jan-01-1980 00:00:00 WOLA.DAT
Trace: 847 Jan-01-1980 00:00:00 CONFIGY.DAT
Trace: TransferSocket.cpp(97): ~CTransferSocket() caller=0x00daf6fc
Trace: TransferSocket.cpp(1158): Close() caller=0x00daf6fc
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=4 OpState=10 caller=0x00dad184
Response: 226 Transfer complete
Trace: FtpControlSocket.cpp(1150): List(FALSE,0,"","",0) OpMode=4 OpState=10 caller=0x00dad184
Status: Directory listing successful
Trace: FtpControlSocket.cpp(3918): ResetOperation(1) OpMode=4 OpState=10 caller=0x00dad184
Trace: FtpControlSocket.cpp(4083): Delete("CONFIGY.DAT", "/9.0.1/") OpMode=0 OpState=-1 caller=0x00dad184
Command: DELE /9.0.1/CONFIGY.DAT
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=256 OpState=-1 caller=0x00dad184
Response: 550 File "/9.0.1/CONFIGY.DAT" not found or permission problem
Trace: FtpControlSocket.cpp(4083): Delete("", "") OpMode=256 OpState=-1 caller=0x00dad184
Trace: FtpControlSocket.cpp(3918): ResetOperation(1) OpMode=256 OpState=-1 caller=0x00dad184
Command: REST 0
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=0 OpState=-1 caller=0x00dad184
Response: 500 Command not recognized
Command: TYPE A
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=0 OpState=-1 caller=0x00dad184
Response: 200 Type set to A, ASCII mode
Command: REST 0
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=0 OpState=-1 caller=0x00dad184
Response: 500 Command not recognized
Command: REST 0
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=0 OpState=-1 caller=0x00dad184
Response: 500 Command not recognized
Command: TYPE A
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=0 OpState=-1 caller=0x00dad184
Response: 200 Type set to A, ASCII mode
I connect, copy a file, and then try to delete it.
Status: Connecting to 172.20.7.8 ...
Trace: FtpControlSocket.cpp(938): OnConnect(0) OpMode=1 OpState=-1 caller=0x00dad184
Status: Connected with 172.20.7.8. Waiting for welcome message...
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=1 OpState=-1 caller=0x00dad184
Response: 220 VxWorks (5.4.2) FTP server ready
Command: USER anonymous
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=1 OpState=0 caller=0x00dad184
Response: 331 Password required
Command: PASS *****
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=1 OpState=3 caller=0x00dad184
Response: 230 User logged in
Command: FEAT
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=1 OpState=-13 caller=0x00dad184
Response: 500 Command not recognized
Command: SYST
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=1 OpState=-14 caller=0x00dad184
Response: 500 Command not recognized
Status: Connected
Trace: FtpControlSocket.cpp(3918): ResetOperation(1) OpMode=1 OpState=-14 caller=0x00dad184
Trace: FtpControlSocket.cpp(1150): List(FALSE,0,"","",1) OpMode=0 OpState=-1 caller=0x00dad184
Status: Retrieving directory listing...
Command: PWD
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=4 OpState=0 caller=0x00dad184
Response: 257 Current directory is "9.0.1/"
Trace: FtpControlSocket.cpp(1150): List(FALSE,0,"","",0) OpMode=4 OpState=0 caller=0x00dad184
Command: TYPE A
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=4 OpState=8 caller=0x00dad184
Response: 200 Type set to A, ASCII mode
Trace: FtpControlSocket.cpp(1150): List(FALSE,0,"","",0) OpMode=4 OpState=8 caller=0x00dad184
Command: PASV
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=4 OpState=7 caller=0x00dad184
Response: 227 Entering Passive Mode (172,20,7,8,4,5)
Trace: FtpControlSocket.cpp(1150): List(FALSE,0,"","",0) OpMode=4 OpState=7 caller=0x00dad184
Trace: TransferSocket.cpp(577): SetActive() caller=0x00daf6fc
Command: LIST
Trace: TransferSocket.cpp(465): OnConnect(0) caller=0x00daf6fc
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=4 OpState=9 caller=0x00dad184
Response: 150 Opening ASCII mode data connection
Trace: FtpControlSocket.cpp(1150): List(FALSE,0,"","",0) OpMode=4 OpState=9 caller=0x00dad184
Trace: TransferSocket.cpp(537): OnClose(0) caller=0x00daf6fc
Trace: TransferSocket.cpp(1158): Close() caller=0x00daf6fc
Trace: TransferSocket.cpp(1158): Close() caller=0x00daf6fc
Trace: FtpControlSocket.cpp(1901): TransferEnd(4) OpMode=4 OpState=10 caller=0x00dad184
Trace: FtpControlSocket.cpp(1150): List(TRUE,0,"","",0) OpMode=4 OpState=10 caller=0x00dad184
Trace: size date time name
Trace: -------- ------ ------ --------
Trace: 382976 Jan-01-1980 00:00:00 BOOTROM.SYS
Trace: 847 Jan-01-1980 00:00:00 CONFIG.DAT
Trace: 512 Jan-01-1980 00:00:00 ERR_FILE <DIR>
Trace: 512 Jan-01-1980 00:00:00 LOG_FILE <DIR>
Trace: 512 Jan-01-1980 00:00:00 NET <DIR>
Trace: 1395823 Jan-01-1980 00:00:00 VXWORKS
Trace: 47310 Jan-01-1980 00:00:00 WOLA.DAT
Trace: TransferSocket.cpp(97): ~CTransferSocket() caller=0x00daf6fc
Trace: TransferSocket.cpp(1158): Close() caller=0x00daf6fc
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=4 OpState=10 caller=0x00dad184
Response: 226 Transfer complete
Trace: FtpControlSocket.cpp(1150): List(FALSE,0,"","",0) OpMode=4 OpState=10 caller=0x00dad184
Status: Directory listing successful
Trace: FtpControlSocket.cpp(3918): ResetOperation(1) OpMode=4 OpState=10 caller=0x00dad184
Trace: FtpControlSocket.cpp(1936): FileTransfer(14342896, FALSE, 0) OpMode=0 OpState=-1 caller=0x00dad184
Status: Starting upload of D:\Bezalel\CONFIGY.DAT
Command: TYPE I
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=40 OpState=13 caller=0x00dad184
Response: 200 Type set to I, binary mode
Trace: FtpControlSocket.cpp(1936): FileTransfer(0, FALSE, 0) OpMode=40 OpState=13 caller=0x00dad184
Command: PASV
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=40 OpState=17 caller=0x00dad184
Response: 227 Entering Passive Mode (172,20,7,8,4,6)
Trace: FtpControlSocket.cpp(1936): FileTransfer(0, FALSE, 0) OpMode=40 OpState=17 caller=0x00dad184
Command: STOR CONFIGY.DAT
Trace: TransferSocket.cpp(465): OnConnect(0) caller=0x00daf6fc
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=40 OpState=18 caller=0x00dad184
Response: 150 Opening BINARY mode data connection
Trace: FtpControlSocket.cpp(1936): FileTransfer(0, FALSE, 0) OpMode=40 OpState=18 caller=0x00dad184
Trace: TransferSocket.cpp(577): SetActive() caller=0x00daf6fc
Trace: TransferSocket.cpp(465): OnConnect(0) caller=0x00daf6fc
Trace: TransferSocket.cpp(1158): Close() caller=0x00daf6fc
Trace: FtpControlSocket.cpp(1901): TransferEnd(40) OpMode=40 OpState=19 caller=0x00dad184
Trace: FtpControlSocket.cpp(1936): FileTransfer(0, TRUE, 0) OpMode=40 OpState=19 caller=0x00dad184
Trace: TransferSocket.cpp(97): ~CTransferSocket() caller=0x00daf6fc
Trace: TransferSocket.cpp(1158): Close() caller=0x00daf6fc
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=40 OpState=19 caller=0x00dad184
Response: 226 Transfer complete
Trace: FtpControlSocket.cpp(1936): FileTransfer(0, FALSE, 0) OpMode=40 OpState=19 caller=0x00dad184
Trace: FtpControlSocket.cpp(3918): ResetOperation(1) OpMode=40 OpState=19 caller=0x00dad184
Status: Upload successful
Trace: FtpControlSocket.cpp(1150): List(FALSE,0,"/9.0.1/","",9) OpMode=0 OpState=-1 caller=0x00dad184
Status: Retrieving directory listing...
Command: TYPE A
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=4 OpState=8 caller=0x00dad184
Response: 200 Type set to A, ASCII mode
Trace: FtpControlSocket.cpp(1150): List(FALSE,0,"","",0) OpMode=4 OpState=8 caller=0x00dad184
Command: PASV
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=4 OpState=7 caller=0x00dad184
Response: 227 Entering Passive Mode (172,20,7,8,4,7)
Trace: FtpControlSocket.cpp(1150): List(FALSE,0,"","",0) OpMode=4 OpState=7 caller=0x00dad184
Trace: TransferSocket.cpp(577): SetActive() caller=0x00daf6fc
Command: LIST
Trace: TransferSocket.cpp(465): OnConnect(0) caller=0x00daf6fc
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=4 OpState=9 caller=0x00dad184
Response: 150 Opening ASCII mode data connection
Trace: FtpControlSocket.cpp(1150): List(FALSE,0,"","",0) OpMode=4 OpState=9 caller=0x00dad184
Trace: TransferSocket.cpp(537): OnClose(0) caller=0x00daf6fc
Trace: TransferSocket.cpp(1158): Close() caller=0x00daf6fc
Trace: TransferSocket.cpp(1158): Close() caller=0x00daf6fc
Trace: FtpControlSocket.cpp(1901): TransferEnd(4) OpMode=4 OpState=10 caller=0x00dad184
Trace: FtpControlSocket.cpp(1150): List(TRUE,0,"","",0) OpMode=4 OpState=10 caller=0x00dad184
Trace: size date time name
Trace: -------- ------ ------ --------
Trace: 382976 Jan-01-1980 00:00:00 BOOTROM.SYS
Trace: 847 Jan-01-1980 00:00:00 CONFIG.DAT
Trace: 512 Jan-01-1980 00:00:00 ERR_FILE <DIR>
Trace: 512 Jan-01-1980 00:00:00 LOG_FILE <DIR>
Trace: 512 Jan-01-1980 00:00:00 NET <DIR>
Trace: 1395823 Jan-01-1980 00:00:00 VXWORKS
Trace: 47310 Jan-01-1980 00:00:00 WOLA.DAT
Trace: 847 Jan-01-1980 00:00:00 CONFIGY.DAT
Trace: TransferSocket.cpp(97): ~CTransferSocket() caller=0x00daf6fc
Trace: TransferSocket.cpp(1158): Close() caller=0x00daf6fc
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=4 OpState=10 caller=0x00dad184
Response: 226 Transfer complete
Trace: FtpControlSocket.cpp(1150): List(FALSE,0,"","",0) OpMode=4 OpState=10 caller=0x00dad184
Status: Directory listing successful
Trace: FtpControlSocket.cpp(3918): ResetOperation(1) OpMode=4 OpState=10 caller=0x00dad184
Trace: FtpControlSocket.cpp(4083): Delete("CONFIGY.DAT", "/9.0.1/") OpMode=0 OpState=-1 caller=0x00dad184
Command: DELE /9.0.1/CONFIGY.DAT
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=256 OpState=-1 caller=0x00dad184
Response: 550 File "/9.0.1/CONFIGY.DAT" not found or permission problem
Trace: FtpControlSocket.cpp(4083): Delete("", "") OpMode=256 OpState=-1 caller=0x00dad184
Trace: FtpControlSocket.cpp(3918): ResetOperation(1) OpMode=256 OpState=-1 caller=0x00dad184
Command: REST 0
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=0 OpState=-1 caller=0x00dad184
Response: 500 Command not recognized
Command: TYPE A
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=0 OpState=-1 caller=0x00dad184
Response: 200 Type set to A, ASCII mode
Command: REST 0
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=0 OpState=-1 caller=0x00dad184
Response: 500 Command not recognized
Command: REST 0
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=0 OpState=-1 caller=0x00dad184
Response: 500 Command not recognized
Command: TYPE A
Trace: FtpControlSocket.cpp(761): OnReceive(0) OpMode=0 OpState=-1 caller=0x00dad184
Response: 200 Type set to A, ASCII mode