Not able to download file from MFT location.
I am using WinSCP tool to download files from shared location. It was working properly few days back but suddenly stopped working. Please look into this asap.
I am running a command to download files.
"C:\Program Files\WinSCP\WinSCP.exe" /command "open username:passowrd@host" "get -delete outbox/*.TXT Destination folder"
Logs :
. 2013-07-26 04:00:01.592 Using SFTP protocol.
. 2013-07-26 04:00:01.592 Doing startup conversation with host.
> 2013-07-26 04:00:01.592 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2013-07-26 04:00:01.608 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2013-07-26 04:00:01.608 SFTP version 3 negotiated.
. 2013-07-26 04:00:01.608 We believe the server has signed timestamps bug
. 2013-07-26 04:00:01.608 We will use UTF-8 strings for status messages only
. 2013-07-26 04:00:01.608 Getting current directory name.
. 2013-07-26 04:00:01.608 Getting real path for '.'
> 2013-07-26 04:00:01.608 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2013-07-26 04:00:01.608 Type: SSH_FXP_NAME, Size: 100, Number: 16
. 2013-07-26 04:00:01.608 Real path is '/home/mftedidms'
. 2013-07-26 04:00:01.608 Startup conversation with host finished.
< 2013-07-26 04:00:01.608 Script: Active session: [1] username@host
> 2013-07-26 04:00:01.608 Script: get -delete outbox/*.TXT Destination
. 2013-07-26 04:00:01.608 Listing directory "/home/outbox".
> 2013-07-26 04:00:01.608 Type: SSH_FXP_OPENDIR, Size: 31, Number: 267
< 2013-07-26 04:00:02.827 Type: SSH_FXP_HANDLE, Size: 58, Number: 267
> 2013-07-26 04:00:02.827 Type: SSH_FXP_READDIR, Size: 58, Number: 524
< 2013-07-26 04:00:03.061 Type: SSH_FXP_NAME, Size: 269, Number: 524
> 2013-07-26 04:00:03.061 Type: SSH_FXP_READDIR, Size: 58, Number: 780
< 2013-07-26 04:00:03.061 Type: SSH_FXP_STATUS, Size: 40, Number: 780
< 2013-07-26 04:00:03.061 Status code: 1
> 2013-07-26 04:00:03.061 Type: SSH_FXP_CLOSE, Size: 58, Number: 1028
. 2013-07-26 04:00:03.061 File: "/home/outbox/1.TXT"
. 2013-07-26 04:00:03.061 Copying "/home/outbox/1.TXT" to local directory started.
. 2013-07-26 04:00:03.061 Ascii transfer mode selected.
. 2013-07-26 04:00:03.123 Opening remote file.
> 2013-07-26 04:00:03.123 Type: SSH_FXP_OPEN, Size: 68, Number: 1283
< 2013-07-26 04:00:03.123 Type: SSH_FXP_STATUS, Size: 42, Number: 1028
. 2013-07-26 04:00:03.123 Discarding reserved response
< 2013-07-26 04:00:03.139 Type: SSH_FXP_HANDLE, Size: 37, Number: 1283
> 2013-07-26 04:00:03.139 Type: SSH_FXP_FSTAT, Size: 37, Number: 1544
> 2013-07-26 04:00:03.139 Type: SSH_FXP_READ, Size: 49, Number: 1797
. 2013-07-26 04:00:03.280 3 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
< 2013-07-26 04:00:03.280 Type: SSH_FXP_ATTRS, Size: 37, Number: 1544
. 2013-07-26 04:00:03.280 Storing reserved response
< 2013-07-26 04:00:03.420 Status code: 1
. 2013-07-26 04:00:03.420 17 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2013-07-26 04:00:03.420 Type: SSH_FXP_CLOSE, Size: 37, Number: 4868
< 2013-07-26 04:00:03.420 Type: SSH_FXP_STATUS, Size: 53, Number: 4101
< 2013-07-26 04:00:03.514 Type: SSH_FXP_STATUS, Size: 53, Number: 4357
< 2013-07-26 04:00:03.514 Type: SSH_FXP_STATUS, Size: 53, Number: 4613
. 2013-07-26 04:00:03.530 Deleting file "/home/outbox/1.TXT".
> 2013-07-26 04:00:03.530 Type: SSH_FXP_REMOVE, Size: 60, Number: 5133
. 2013-07-26 04:00:18.530 Waiting for data timed out, asking user what to do.
. 2013-07-26 04:00:18.530 Asking user:
. 2013-07-26 04:00:18.530 Host is not communicating for 15 seconds.
. 2013-07-26 04:00:18.530
. 2013-07-26 04:00:18.530 Wait for another 15 seconds? ()
. 2013-07-26 04:00:18.530 Attempt to close connection due to fatal exception:
* 2013-07-26 04:00:18.530 Terminated by user.
. 2013-07-26 04:00:18.530 Closing connection.
. 2013-07-26 04:00:18.530 Sending special code: 12
. 2013-07-26 04:00:18.530 Sent EOF message
. 2013-07-26 04:00:18.530 Connection was lost, asking what to do.
. 2013-07-26 04:00:18.530 Asking user:
. 2013-07-26 04:00:18.530 Terminated by user. ("Error deleting file '/home/outbox/1.TXT'.")
< 2013-07-26 04:00:23.530 Script: Searching for host...
. 2013-07-26 04:00:23.530 Looking up host "aaaaaa"
. 2013-07-26 04:00:23.530 Connecting to IP port no
< 2013-07-26 04:00:23.530 Script: Connecting to host...
. 2013-07-26 04:00:23.530 Server version: SSH-2.
. 2013-07-26 04:00:23.530 We believe remote version has SSH-2 ignore bug
. 2013-07-26 04:00:23.530 Using SSH protocol version 2
. 2013-07-26 04:00:23.530 We claim version: SSH-2.0-WinSCP_release_4.3.2
. 2013-07-26 04:00:23.546 Using Diffie-Hellman with standard group "group1"
. 2013-07-26 04:00:23.546 Doing Diffie-Hellman key exchange with hash SHA-1
< 2013-07-26 04:00:23.796 Script: Authenticating...
. 2013-07-26 04:00:23.796 Host key fingerprint is:
. 2013-07-26 04:00:23.796 ssh-rsa 1024
. 2013-07-26 04:00:23.796 Initialised AES-256 CBC client->server encryption
. 2013-07-26 04:00:23.796 Initialised HMAC-SHA1 client->server MAC algorithm
. 2013-07-26 04:00:23.796 Initialised AES-256 CBC server->client encryption
. 2013-07-26 04:00:23.796 Initialised HMAC-SHA1 server->client MAC algorithm
! 2013-07-26 04:00:23.796 Using username "xxxxxx".
< 2013-07-26 04:00:23.796 Script: Using username "xxxxxx".
. 2013-07-26 04:00:23.811 Prompt (5, SSH server: Password authentication, Using keyboard-interactive authentication., xxxxx's password)
. 2013-07-26 04:00:23.811 Using stored password.
< 2013-07-26 04:00:23.811 Script: Authenticating with pre-entered password.
. 2013-07-26 04:00:24.155 Access granted
. 2013-07-26 04:00:24.155 Opened channel for session
. 2013-07-26 04:00:24.905 Started a shell/command
< 2013-07-26 04:00:24.905 Script: Authenticated.
. 2013-07-26 04:00:24.905 Doing startup conversation with host.
< 2013-07-26 04:00:24.905 Script: Starting the session...
> 2013-07-26 04:00:24.905 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2013-07-26 04:00:24.937 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2013-07-26 04:00:24.937 SFTP version 3 negotiated.
. 2013-07-26 04:00:24.937 We believe the server has signed timestamps bug
. 2013-07-26 04:00:24.937 We will use UTF-8 strings for status messages only
< 2013-07-26 04:00:24.937 Script: Reading remote directory...
. 2013-07-26 04:00:24.937 Changing directory to "/home/mftedidms".
. 2013-07-26 04:00:24.937 Getting real path for '/home/mftedidms'
> 2013-07-26 04:00:24.937 Type: SSH_FXP_REALPATH, Size: 24, Number: 5392
< 2013-07-26 04:00:24.937 Type: SSH_FXP_NAME, Size: 100, Number: 5392
. 2013-07-26 04:00:24.937 Real path is '/home/mftedidms'
. 2013-07-26 04:00:24.937 Trying to open directory "/home/mftedidms".
> 2013-07-26 04:00:24.937 Type: SSH_FXP_LSTAT, Size: 24, Number: 5639
< 2013-07-26 04:00:25.062 Type: SSH_FXP_ATTRS, Size: 37, Number: 5639
. 2013-07-26 04:00:25.062 Getting current directory name.
. 2013-07-26 04:00:25.062 Startup conversation with host finished.
< 2013-07-26 04:00:25.062 Script: Session started.
. 2013-07-26 04:00:25.062 File: "/home/mftedidms/outbox/1.TXT"
. 2013-07-26 04:00:25.062 Copying "/home/mftedidms/outbox/1.TXT" to local directory started.
. 2013-07-26 04:00:25.062 Ascii transfer mode selected.
. 2013-07-26 04:00:25.108 Confirming overwriting of file.
. 2013-07-26 04:00:25.108 Opening remote file.
> 2013-07-26 04:00:25.108 Type: SSH_FXP_OPEN, Size: 68, Number: 5891
< 2013-07-26 04:00:25.124 Type: SSH_FXP_HANDLE, Size: 37, Number: 5891
> 2013-07-26 04:00:25.124 Type: SSH_FXP_FSTAT, Size: 37, Number: 6152
> 2013-07-26 04:00:25.124 Type: SSH_FXP_READ, Size: 49, Number: 6405
. 2013-07-26 04:00:25.249 3 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
< 2013-07-26 04:00:25.249 Type: SSH_FXP_ATTRS, Size: 37, Number: 6152
. 2013-07-26 04:00:25.249 Storing reserved response
. 2013-07-26 04:00:25.265 6 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2013-07-26 04:00:25.265 Type: SSH_FXP_CLOSE, Size: 37, Number: 7684
. 2013-07-26 04:00:25.265 Script: Failed
. 2013-07-26 04:00:25.265 Closing connection.
. 2013-07-26 04:00:25.265 Sending special code: 12
. 2013-07-26 04:00:25.265 Sent EOF message
I am running a command to download files.
"C:\Program Files\WinSCP\WinSCP.exe" /command "open username:passowrd@host" "get -delete outbox/*.TXT Destination folder"
Logs :
. 2013-07-26 04:00:01.592 Using SFTP protocol.
. 2013-07-26 04:00:01.592 Doing startup conversation with host.
> 2013-07-26 04:00:01.592 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2013-07-26 04:00:01.608 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2013-07-26 04:00:01.608 SFTP version 3 negotiated.
. 2013-07-26 04:00:01.608 We believe the server has signed timestamps bug
. 2013-07-26 04:00:01.608 We will use UTF-8 strings for status messages only
. 2013-07-26 04:00:01.608 Getting current directory name.
. 2013-07-26 04:00:01.608 Getting real path for '.'
> 2013-07-26 04:00:01.608 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2013-07-26 04:00:01.608 Type: SSH_FXP_NAME, Size: 100, Number: 16
. 2013-07-26 04:00:01.608 Real path is '/home/mftedidms'
. 2013-07-26 04:00:01.608 Startup conversation with host finished.
< 2013-07-26 04:00:01.608 Script: Active session: [1] username@host
> 2013-07-26 04:00:01.608 Script: get -delete outbox/*.TXT Destination
. 2013-07-26 04:00:01.608 Listing directory "/home/outbox".
> 2013-07-26 04:00:01.608 Type: SSH_FXP_OPENDIR, Size: 31, Number: 267
< 2013-07-26 04:00:02.827 Type: SSH_FXP_HANDLE, Size: 58, Number: 267
> 2013-07-26 04:00:02.827 Type: SSH_FXP_READDIR, Size: 58, Number: 524
< 2013-07-26 04:00:03.061 Type: SSH_FXP_NAME, Size: 269, Number: 524
> 2013-07-26 04:00:03.061 Type: SSH_FXP_READDIR, Size: 58, Number: 780
< 2013-07-26 04:00:03.061 Type: SSH_FXP_STATUS, Size: 40, Number: 780
< 2013-07-26 04:00:03.061 Status code: 1
> 2013-07-26 04:00:03.061 Type: SSH_FXP_CLOSE, Size: 58, Number: 1028
. 2013-07-26 04:00:03.061 File: "/home/outbox/1.TXT"
. 2013-07-26 04:00:03.061 Copying "/home/outbox/1.TXT" to local directory started.
. 2013-07-26 04:00:03.061 Ascii transfer mode selected.
. 2013-07-26 04:00:03.123 Opening remote file.
> 2013-07-26 04:00:03.123 Type: SSH_FXP_OPEN, Size: 68, Number: 1283
< 2013-07-26 04:00:03.123 Type: SSH_FXP_STATUS, Size: 42, Number: 1028
. 2013-07-26 04:00:03.123 Discarding reserved response
< 2013-07-26 04:00:03.139 Type: SSH_FXP_HANDLE, Size: 37, Number: 1283
> 2013-07-26 04:00:03.139 Type: SSH_FXP_FSTAT, Size: 37, Number: 1544
> 2013-07-26 04:00:03.139 Type: SSH_FXP_READ, Size: 49, Number: 1797
. 2013-07-26 04:00:03.280 3 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
< 2013-07-26 04:00:03.280 Type: SSH_FXP_ATTRS, Size: 37, Number: 1544
. 2013-07-26 04:00:03.280 Storing reserved response
< 2013-07-26 04:00:03.420 Status code: 1
. 2013-07-26 04:00:03.420 17 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2013-07-26 04:00:03.420 Type: SSH_FXP_CLOSE, Size: 37, Number: 4868
< 2013-07-26 04:00:03.420 Type: SSH_FXP_STATUS, Size: 53, Number: 4101
< 2013-07-26 04:00:03.514 Type: SSH_FXP_STATUS, Size: 53, Number: 4357
< 2013-07-26 04:00:03.514 Type: SSH_FXP_STATUS, Size: 53, Number: 4613
. 2013-07-26 04:00:03.530 Deleting file "/home/outbox/1.TXT".
> 2013-07-26 04:00:03.530 Type: SSH_FXP_REMOVE, Size: 60, Number: 5133
. 2013-07-26 04:00:18.530 Waiting for data timed out, asking user what to do.
. 2013-07-26 04:00:18.530 Asking user:
. 2013-07-26 04:00:18.530 Host is not communicating for 15 seconds.
. 2013-07-26 04:00:18.530
. 2013-07-26 04:00:18.530 Wait for another 15 seconds? ()
. 2013-07-26 04:00:18.530 Attempt to close connection due to fatal exception:
* 2013-07-26 04:00:18.530 Terminated by user.
. 2013-07-26 04:00:18.530 Closing connection.
. 2013-07-26 04:00:18.530 Sending special code: 12
. 2013-07-26 04:00:18.530 Sent EOF message
. 2013-07-26 04:00:18.530 Connection was lost, asking what to do.
. 2013-07-26 04:00:18.530 Asking user:
. 2013-07-26 04:00:18.530 Terminated by user. ("Error deleting file '/home/outbox/1.TXT'.")
< 2013-07-26 04:00:23.530 Script: Searching for host...
. 2013-07-26 04:00:23.530 Looking up host "aaaaaa"
. 2013-07-26 04:00:23.530 Connecting to IP port no
< 2013-07-26 04:00:23.530 Script: Connecting to host...
. 2013-07-26 04:00:23.530 Server version: SSH-2.
. 2013-07-26 04:00:23.530 We believe remote version has SSH-2 ignore bug
. 2013-07-26 04:00:23.530 Using SSH protocol version 2
. 2013-07-26 04:00:23.530 We claim version: SSH-2.0-WinSCP_release_4.3.2
. 2013-07-26 04:00:23.546 Using Diffie-Hellman with standard group "group1"
. 2013-07-26 04:00:23.546 Doing Diffie-Hellman key exchange with hash SHA-1
< 2013-07-26 04:00:23.796 Script: Authenticating...
. 2013-07-26 04:00:23.796 Host key fingerprint is:
. 2013-07-26 04:00:23.796 ssh-rsa 1024
. 2013-07-26 04:00:23.796 Initialised AES-256 CBC client->server encryption
. 2013-07-26 04:00:23.796 Initialised HMAC-SHA1 client->server MAC algorithm
. 2013-07-26 04:00:23.796 Initialised AES-256 CBC server->client encryption
. 2013-07-26 04:00:23.796 Initialised HMAC-SHA1 server->client MAC algorithm
! 2013-07-26 04:00:23.796 Using username "xxxxxx".
< 2013-07-26 04:00:23.796 Script: Using username "xxxxxx".
. 2013-07-26 04:00:23.811 Prompt (5, SSH server: Password authentication, Using keyboard-interactive authentication., xxxxx's password)
. 2013-07-26 04:00:23.811 Using stored password.
< 2013-07-26 04:00:23.811 Script: Authenticating with pre-entered password.
. 2013-07-26 04:00:24.155 Access granted
. 2013-07-26 04:00:24.155 Opened channel for session
. 2013-07-26 04:00:24.905 Started a shell/command
< 2013-07-26 04:00:24.905 Script: Authenticated.
. 2013-07-26 04:00:24.905 Doing startup conversation with host.
< 2013-07-26 04:00:24.905 Script: Starting the session...
> 2013-07-26 04:00:24.905 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2013-07-26 04:00:24.937 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2013-07-26 04:00:24.937 SFTP version 3 negotiated.
. 2013-07-26 04:00:24.937 We believe the server has signed timestamps bug
. 2013-07-26 04:00:24.937 We will use UTF-8 strings for status messages only
< 2013-07-26 04:00:24.937 Script: Reading remote directory...
. 2013-07-26 04:00:24.937 Changing directory to "/home/mftedidms".
. 2013-07-26 04:00:24.937 Getting real path for '/home/mftedidms'
> 2013-07-26 04:00:24.937 Type: SSH_FXP_REALPATH, Size: 24, Number: 5392
< 2013-07-26 04:00:24.937 Type: SSH_FXP_NAME, Size: 100, Number: 5392
. 2013-07-26 04:00:24.937 Real path is '/home/mftedidms'
. 2013-07-26 04:00:24.937 Trying to open directory "/home/mftedidms".
> 2013-07-26 04:00:24.937 Type: SSH_FXP_LSTAT, Size: 24, Number: 5639
< 2013-07-26 04:00:25.062 Type: SSH_FXP_ATTRS, Size: 37, Number: 5639
. 2013-07-26 04:00:25.062 Getting current directory name.
. 2013-07-26 04:00:25.062 Startup conversation with host finished.
< 2013-07-26 04:00:25.062 Script: Session started.
. 2013-07-26 04:00:25.062 File: "/home/mftedidms/outbox/1.TXT"
. 2013-07-26 04:00:25.062 Copying "/home/mftedidms/outbox/1.TXT" to local directory started.
. 2013-07-26 04:00:25.062 Ascii transfer mode selected.
. 2013-07-26 04:00:25.108 Confirming overwriting of file.
. 2013-07-26 04:00:25.108 Opening remote file.
> 2013-07-26 04:00:25.108 Type: SSH_FXP_OPEN, Size: 68, Number: 5891
< 2013-07-26 04:00:25.124 Type: SSH_FXP_HANDLE, Size: 37, Number: 5891
> 2013-07-26 04:00:25.124 Type: SSH_FXP_FSTAT, Size: 37, Number: 6152
> 2013-07-26 04:00:25.124 Type: SSH_FXP_READ, Size: 49, Number: 6405
. 2013-07-26 04:00:25.249 3 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
< 2013-07-26 04:00:25.249 Type: SSH_FXP_ATTRS, Size: 37, Number: 6152
. 2013-07-26 04:00:25.249 Storing reserved response
. 2013-07-26 04:00:25.265 6 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2013-07-26 04:00:25.265 Type: SSH_FXP_CLOSE, Size: 37, Number: 7684
. 2013-07-26 04:00:25.265 Script: Failed
. 2013-07-26 04:00:25.265 Closing connection.
. 2013-07-26 04:00:25.265 Sending special code: 12
. 2013-07-26 04:00:25.265 Sent EOF message