Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

dcpollaro

sent you an email with more of the log...
Guest

I actualy got it to work by putting the password in single quotes ' ' instead of " " (i tried this randomly)
now the message I get when I transfer a file is

Upload of file 'test2.txt' was successful, but error occurred while setting the permissions and/or timestamp. If the problem persists, turn on 'Ignore permission errors' option.

. 2013-04-01 17:18:29.115 Binary transfer mode selected.
. 2013-04-01 17:18:29.115 Opening remote file.
> 2013-04-01 17:18:29.115 Type: SSH_FXP_OPEN, Size: 53, Number: 259
< 2013-04-01 17:18:29.271 Type: SSH_FXP_HANDLE, Size: 10, Number: 259
> 2013-04-01 17:18:29.271 Type: SSH_FXP_WRITE, Size: 56, Number: 774
> 2013-04-01 17:18:29.271 Type: SSH_FXP_CLOSE, Size: 10, Number: 1028
> 2013-04-01 17:18:29.271 Type: SSH_FXP_SETSTAT, Size: 49, Number: 521
< 2013-04-01 17:18:29.318 Type: SSH_FXP_STATUS, Size: 49, Number: 774
< 2013-04-01 17:18:29.443 Type: SSH_FXP_STATUS, Size: 40, Number: 1028
< 2013-04-01 17:18:29.443 Status code: 0
< 2013-04-01 17:18:29.443 Type: SSH_FXP_STATUS, Size: 83, Number: 521
< 2013-04-01 17:18:29.443 Status code: 3, Message: 521, Server: This server does not support operations to modify file attributes., Language:
* 2013-04-01 17:18:29.443 (ETerminal) Permission denied.
* 2013-04-01 17:18:29.443 Error code: 3
* 2013-04-01 17:18:29.443 Error message from server: This server does not support operations to modify file attributes.
* 2013-04-01 17:18:29.443 Request code: 9
. 2013-04-01 17:18:29.443 Asking user:
. 2013-04-01 17:18:29.443 Upload of file 'test2.txt' was successful, but error occurred while setting the permissions and/or timestamp. If the problem persists, turn on 'Ignore permission errors' option. ("Permission denied.
. 2013-04-01 17:18:29.443 Error code: 3
. 2013-04-01 17:18:29.443 Error message from server: This server does not support operations to modify file attributes.
. 2013-04-01 17:18:29.443 Request code: 9")
< 2013-04-01 17:18:29.443 Script: Upload of file 'test2.txt' was successful, but error occurred while setting the permissions and/or timestamp. If the problem persists, turn on 'Ignore permission errors' option.
< 2013-04-01 17:18:29.443 Script: Permission denied.
< 2013-04-01 17:18:29.443 Error code: 3
< 2013-04-01 17:18:29.443 Error message from server: This server does not support operations to modify file attributes.
< 2013-04-01 17:18:29.443 Request code: 9
* 2013-04-01 17:18:29.443 (EScpSkipFile) Upload of file 'test2.txt' was successful, but error occurred while setting the permissions and/or timestamp. If the problem persists, turn on 'Ignore permission errors' option.
* 2013-04-01 17:18:29.443 Permission denied.
* 2013-04-01 17:18:29.443 Error code: 3
* 2013-04-01 17:18:29.443 Error message from server: This server does not support operations to modify file attributes.
* 2013-04-01 17:18:29.443 Request code: 9
. 2013-04-01 17:18:29.443 Script: Failed
> 2013-04-01 17:18:29.661 Script: exit
. 2013-04-01 17:18:29.661 Script: Exit code: 1
. 2013-04-01 17:18:29.661 Closing connection.
. 2013-04-01 17:18:29.661 Sending special code: 12
. 2013-04-01 17:18:29.661 Sent EOF message
martin

Re: Connection works via WINSCP GUI, fails via powershell

Can you attach or email me a somplete logs for both scenarios?
dcpollaro

Connection works via WINSCP GUI, fails via powershell

Everything works fine when testing with our inhouse SFTP server (through GUI and through powershell script). Now that we are testing with external, we are having problems connecting via the powershell script

using 5.1.3 of the com and the app

we are using pw authentication but they did give me their public key if we want to use that instead (i just dont know how to set this up via the powershell script)

logs when I try via the script

! 2013-03-29 16:23:43.359 Using username "removed".
. 2013-03-29 16:23:43.437 Attempting keyboard-interactive authentication
. 2013-03-29 16:23:43.484 Prompt (6, SSH server: password, Using keyboard-interactive authentication.
. 2013-03-29 16:23:43.484 Enter password for removed, Password:)
. 2013-03-29 16:23:43.484 Using stored password.
. 2013-03-29 16:23:43.546 Keyboard-interactive authentication failed
! 2013-03-29 16:23:43.546 Access denied
. 2013-03-29 16:23:43.546 Attempting keyboard-interactive authentication
. 2013-03-29 16:23:43.593 Prompt (6, SSH server: password, Using keyboard-interactive authentication.
. 2013-03-29 16:23:43.593 Enter password for removed, Password:)
. 2013-03-29 16:23:43.593 Disconnected: Unable to authenticate



logs from GUI


! 2013-03-29 10:12:44.981 Using username "removed".
. 2013-03-29 10:12:45.071 Attempting keyboard-interactive authentication
. 2013-03-29 10:12:45.081 Prompt (6, SSH server: password, Using keyboard-interactive authentication.
. 2013-03-29 10:12:45.081 Enter password for removed, Password:)
. 2013-03-29 10:12:45.081 Using stored password.
. 2013-03-29 10:12:45.161 Access granted
. 2013-03-29 10:12:45.171 Opened channel for session
. 2013-03-29 10:12:45.261 Started a shell/command