Re: PutFile requires the directory list permission (General questions)
Yes, WINSCP works fine.
ftp.PutFile(@ c:upx.exe , /upx.exe );
Without Directory listing enabled Server log is:
[31] Sun 21Dec08 12:44:24 - (001429) SSH2_MSG_USERAUTH_SUCCESS: successful login
[30] Sun 21Dec08 12:44:24 - (001429) SSH_FXP_INIT: client version 3
[31] Sun 21Dec08 12:44:24 - (001429) SSH_FXP_VERSION: server version 3
[30] Sun 21Dec08 12:44:24 - (001429) {0x3c3a632c} SSH_FXP_REALPATH
[31] Sun 21Dec08 12:44:24 - (001429) {0x3c3a632c} SSH_FX_NO_SUCH_FILE: No such file.
[30] Sun 21Dec08 12:44:24 - (001429) {0x3c3a632c} SSH_FXP_STAT: path: /upx.exe
[31] Sun 21Dec08 12:44:24 - (001429) {0x3c3a632c} SSH_FX_NO_SUCH_FILE: No such file.
With Directory Listing Enabled is:
[31] Sun 21Dec08 12:46:17 - (001430) SSH2_MSG_USERAUTH_SUCCESS: successful login
[30] Sun 21Dec08 12:46:17 - (001430) SSH_FXP_INIT: client version 3
[31] Sun 21Dec08 12:46:17 - (001430) SSH_FXP_VERSION: server version 3
[31] Sun 21Dec08 12:46:17 - (001430) {0x5514fc01} SSH_FXP_NAME: path: /
[30] Sun 21Dec08 12:46:17 - (001430) {0x5514fc02} SSH_FXP_STAT: path: /upx.exe
[31] Sun 21Dec08 12:46:17 - (001430) {0x5514fc02} SSH_FX_NO_SUCH_FILE: No such file.
[30] Sun 21Dec08 12:46:17 - (001430) {0x5514fc02} SSH_FXP_STAT: path: /
[31] Sun 21Dec08 12:46:17 - (001430) {0x5514fc02} SSH_FXP_ATTRS
[30] Sun 21Dec08 12:46:17 - (001430) {0x5514fc03} SSH_FXP_OPEN: path: /upx.exe
[31] Sun 21Dec08 12:46:17 - (001430) {0x5514fc03} SSH_FXP_HANDLE: file handle: 0x00000330
[30] Sun 21Dec08 12:46:17 - (001430) {0x5514fc04} SSH_FXP_WRITE: handle: 0x00000330; 32768 bytes
[11] Sun 21Dec08 12:46:17 - (001430) Receiving file c: ransmissionsupx.exe
[31] Sun 21Dec08 12:46:17 - (001430) {0x5514fc04} SSH_FX_OK: Success.
[30] Sun 21Dec08 12:46:17 - (001430) {0x5514fc04} SSH_FXP_WRITE: handle: 0x00000330; 32768 bytes
[31] Sun 21Dec08 12:46:17 - (001430) {0x5514fc04} SSH_FX_OK: Success.
[30] Sun 21Dec08 12:46:17 - (001430) {0x5514fc04} SSH_FXP_WRITE: handle: 0x00000330; 32768 bytes
[31] Sun 21Dec08 12:46:17 - (001430) {0x5514fc04} SSH_FX_OK: Success.
[30] Sun 21Dec08 12:46:17 - (001430) {0x5514fc04} SSH_FXP_WRITE: handle: 0x00000330; 32768 bytes
[31] Sun 21Dec08 12:46:17 - (001430) {0x5514fc04} SSH_FX_OK: Success.
[30] Sun 21Dec08 12:46:17 - (001430) {0x5514fc04} SSH_FXP_WRITE: handle: 0x00000330; 32768 bytes
[31] Sun 21Dec08 12:46:17 - (001430) {0x5514fc04} SSH_FX_OK: Success.
[30] Sun 21Dec08 12:46:17 - (001430) {0x5514fc04} SSH_FXP_WRITE: handle: 0x00000330; 32768 bytes
[31] Sun 21Dec08 12:46:17 - (001430) {0x5514fc04} SSH_FX_OK: Success.
[30] Sun 21Dec08 12:46:17 - (001430) {0x5514fc04} SSH_FXP_WRITE: handle: 0x00000330; 32768 bytes
[31] Sun 21Dec08 12:46:17 - (001430) {0x5514fc04} SSH_FX_OK: Success.
[30] Sun 21Dec08 12:46:17 - (001430) {0x5514fc04} SSH_FXP_WRITE: handle: 0x00000330; 32768 bytes
[31] Sun 21Dec08 12:46:17 - (001430) {0x5514fc04} SSH_FX_OK: Success.
[30] Sun 21Dec08 12:46:17 - (001430) {0x5514fc04} SSH_FXP_WRITE: handle: 0x00000330; 7168 bytes
[31] Sun 21Dec08 12:46:17 - (001430) {0x5514fc04} SSH_FX_OK: Success.
[30] Sun 21Dec08 12:46:17 - (001430) {0x5514fc04} SSH_FXP_CLOSE: handle: 0x00000330
[11] Sun 21Dec08 12:46:17 - (001430) Received file c: ransmissionsupx.exe successfully (1,056.22 KB/sec - 269,312 Bytes)
[31] Sun 21Dec08 12:46:17 - (001430) {0x5514fc04} SSH_FX_OK: Success.
Complete thread:
- PutFile requires the directory list permission? - sramey, 2008-12-21, 08:01
- Re: PutFile requires the directory list permission - woddrazen, 2008-12-21, 12:47
- Re: PutFile requires the directory list permission - sramey, 2008-12-21, 18:27
- Re: PutFile requires the directory list permission - woddrazen, 2008-12-21, 18:40
- Re: PutFile requires the directory list permission - sramey, 2008-12-21, 18:47
- Re: PutFile requires the directory list permission - woddrazen, 2008-12-21, 19:25
- Re: PutFile requires the directory list permission - sramey, 2008-12-21, 19:39
- Re: PutFile requires the directory list permission - woddrazen, 2008-12-22, 00:04
- Re: PutFile requires the directory list permission - sramey, 2008-12-21, 19:39
- Re: PutFile requires the directory list permission - woddrazen, 2008-12-21, 19:25
- Re: PutFile requires the directory list permission - sramey, 2008-12-21, 18:47
- Re: PutFile requires the directory list permission - woddrazen, 2008-12-21, 18:40
- Re: PutFile requires the directory list permission - sramey, 2008-12-21, 18:27
- Re: PutFile requires the directory list permission - woddrazen, 2008-12-21, 12:47