Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

tami.yntema@...

FIXED

Got this to work!

No longer an issue
tami.yntema@...

Help - Upload of file XXX' was successful, but error occurred while setting the permissions a

Setting up this new FTP and after reading the blog, I disabled the resume under Endurance and unchecked set timestamp and ignore permission errors is checked.
Please advise on next steps. Here is the log


2-18 11:28:22.299 --------------------------------------------------------------------------
. 2019-02-18 11:28:22.299 WinSCP Version 5.13.4 (Build 8731) (OS 6.3.9600 - Windows Server 2012 R2 Standard)
. 2019-02-18 11:28:22.299 Configuration: nul
. 2019-02-18 11:28:22.299 Log level: Normal
. 2019-02-18 11:28:22.299 Local account: MLBFL\tamara.yntema
. 2019-02-18 11:28:22.299 Working directory: C:\Program Files (x86)\WinSCP
. 2019-02-18 11:28:22.299 Process ID: 4172
. 2019-02-18 11:28:22.299 Command-line: "C:\Program Files (x86)\WinSCP\WinSCP.exe" /console=5.13.4 /consoleinstance=_3256_790 "/log=C:\ssis\UB\WinSCP.log" "/ini=nul" "/command" "open sftp://melbourne195%24:***@Transfer.IntuitionSystems.com/ -hostkey=""ssh-rsa 1024 ml+a4ZsKvcdkg3OruseJ0Ui92lqULPPwNVQLHZQ1dx8=""" "lcd C:\ssis" "cd /" "put UBEXPORT" "exit"
. 2019-02-18 11:28:22.299 Time zone: Current: GMT-5, Standard: GMT-5 (Eastern Standard Time), DST: GMT-4 (Eastern Daylight Time), DST Start: 3/10/2019, DST End: 11/3/2019
. 2019-02-18 11:28:22.299 Login time: Monday, February 18, 2019 11:28:22 AM
. 2019-02-18 11:28:22.299 --------------------------------------------------------------------------
. 2019-02-18 11:28:22.299 Script: Retrospectively logging previous script records:
> 2019-02-18 11:28:22.299 Script: open sftp://melbourne195%24:***@Transfer.IntuitionSystems.com/ -hostkey="ssh-rsa 1024 ml+a4ZsKvcdkg3OruseJ0Ui92lqULPPwNVQLHZQ1dx8="
. 2019-02-18 11:28:22.299 --------------------------------------------------------------------------
. 2019-02-18 11:28:22.299 Session name: melbourne195$@Transfer.IntuitionSystems.com (Ad-Hoc site)
. 2019-02-18 11:28:22.299 Host name: Transfer.IntuitionSystems.com (Port: 22)
. 2019-02-18 11:28:22.299 User name: melbourne195$ (Password: Yes, Key file: No, Passphrase: No)
. 2019-02-18 11:28:22.299 Tunnel: No
. 2019-02-18 11:28:22.299 Transfer Protocol: SFTP
. 2019-02-18 11:28:22.299 Ping type: Off, Ping interval: 30 sec; Timeout: 15 sec
. 2019-02-18 11:28:22.299 Disable Nagle: No
. 2019-02-18 11:28:22.299 Proxy: None
. 2019-02-18 11:28:22.299 Send buffer: 262144
. 2019-02-18 11:28:22.299 SSH protocol version: 2; Compression: No
. 2019-02-18 11:28:22.299 Bypass authentication: No
. 2019-02-18 11:28:22.299 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: Yes
. 2019-02-18 11:28:22.299 GSSAPI: Forwarding: No; Libs: gssapi32,sspi,custom; Custom:
. 2019-02-18 11:28:22.299 Ciphers: aes,chacha20,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2019-02-18 11:28:22.299 KEX: ecdh,dh-gex-sha1,dh-group14-sha1,rsa,WARN,dh-group1-sha1
. 2019-02-18 11:28:22.299 SSH Bugs: Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto
. 2019-02-18 11:28:22.299 Simple channel: Yes
. 2019-02-18 11:28:22.299 Return code variable: Autodetect; Lookup user groups: Auto
. 2019-02-18 11:28:22.299 Shell: default
. 2019-02-18 11:28:22.299 EOL: LF, UTF: Auto
. 2019-02-18 11:28:22.299 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes; Follow directory symlinks: No
. 2019-02-18 11:28:22.299 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2019-02-18 11:28:22.299 SFTP Bugs: Auto,Auto
. 2019-02-18 11:28:22.299 SFTP Server: default
. 2019-02-18 11:28:22.299 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2019-02-18 11:28:22.299 Cache directory changes: Yes, Permanent: Yes
. 2019-02-18 11:28:22.299 Recycle bin: Delete to: No, Overwritten to: No, Bin path:
. 2019-02-18 11:28:22.299 DST mode: Unix
. 2019-02-18 11:28:22.299 --------------------------------------------------------------------------
. 2019-02-18 11:28:22.299 Looking up host "XXX" for SSH connection
. 2019-02-18 11:28:22.299 Connecting to 199.227.218.200 port 22
. 2019-02-18 11:28:22.315 We claim version: SSH-2.0-WinSCP_release_5.13.4
. 2019-02-18 11:28:22.315 Server version: SSH-2.0-0
. 2019-02-18 11:28:22.315 Using SSH protocol version 2
. 2019-02-18 11:28:22.315 Have a known host key of type rsa2
. 2019-02-18 11:28:22.331 Using Diffie-Hellman with standard group "group14"
. 2019-02-18 11:28:22.331 Doing Diffie-Hellman key exchange with hash SHA-1
. 2019-02-18 11:28:22.487 Server also has ssh-dss host key, but we don't know it
. 2019-02-18 11:28:22.487 Host key fingerprint is:
. 2019-02-18 11:28:22.487 ssh-rsa 1024 95:6c:3f:9b:89:70:c8:13:12:ab:a4:d5:11:82:5a:0c ml+a4ZsKvcdkg3OruseJ0Ui92lqULPPwNVQLHZQ1dx8=
. 2019-02-18 11:28:22.487 Host key matches configured key
. 2019-02-18 11:28:22.487 Initialised AES-256 SDCTR client->server encryption
. 2019-02-18 11:28:22.487 Initialised HMAC-SHA1 client->server MAC algorithm
. 2019-02-18 11:28:22.487 Initialised AES-256 SDCTR server->client encryption
. 2019-02-18 11:28:22.487 Initialised HMAC-SHA1 server->client MAC algorithm
! 2019-02-18 11:28:22.518 Using username "XXX".
. 2019-02-18 11:28:22.565 Server offered these authentication methods: publickey,password
. 2019-02-18 11:28:22.565 Prompt (password, "SSH password", <no instructions>, "&Password: ")
. 2019-02-18 11:28:22.565 Using stored password.
. 2019-02-18 11:28:22.565 Sent password
. 2019-02-18 11:28:22.581 Access granted
. 2019-02-18 11:28:22.581 Opening session as main channel
. 2019-02-18 11:28:22.581 Opened main channel
. 2019-02-18 11:28:22.627 Started a shell/command
. 2019-02-18 11:28:22.627 --------------------------------------------------------------------------
. 2019-02-18 11:28:22.627 Using SFTP protocol.
. 2019-02-18 11:28:22.627 Doing startup conversation with host.
> 2019-02-18 11:28:22.627 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2019-02-18 11:28:22.627 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2019-02-18 11:28:22.627 SFTP version 4 negotiated.
. 2019-02-18 11:28:22.627 We will use UTF-8 strings as it is mandatory with SFTP version 4 and newer
. 2019-02-18 11:28:22.627 Getting current directory name.
. 2019-02-18 11:28:22.627 Getting real path for '.'
> 2019-02-18 11:28:22.627 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2019-02-18 11:28:22.674 Type: SSH_FXP_NAME, Size: 23, Number: 16
. 2019-02-18 11:28:22.674 Real path is '/'
. 2019-02-18 11:28:22.674 Startup conversation with host finished.
< 2019-02-18 11:28:22.674 Script: Active session: [1] melbourne195$@Transfer.IntuitionSystems.com
> 2019-02-18 11:28:22.690 Script: lcd C:\ssis
< 2019-02-18 11:28:22.690 Script: C:\ssis
> 2019-02-18 11:28:22.690 Script: cd /
. 2019-02-18 11:28:22.690 Changing directory to "/".
. 2019-02-18 11:28:22.690 Getting real path for '/'
> 2019-02-18 11:28:22.690 Type: SSH_FXP_REALPATH, Size: 10, Number: 272
< 2019-02-18 11:28:22.690 Type: SSH_FXP_NAME, Size: 23, Number: 272
. 2019-02-18 11:28:22.690 Real path is '/'
. 2019-02-18 11:28:22.690 Trying to open directory "/".
> 2019-02-18 11:28:22.690 Type: SSH_FXP_LSTAT, Size: 14, Number: 519
< 2019-02-18 11:28:22.706 Type: SSH_FXP_ATTRS, Size: 38, Number: 519
. 2019-02-18 11:28:22.706 Getting current directory name.
< 2019-02-18 11:28:22.706 Script: /
> 2019-02-18 11:28:22.706 Script: put UBEXPORT
. 2019-02-18 11:28:22.706 Copying 1 files/directories to remote directory "/" - total size: 4,740,755
. 2019-02-18 11:28:22.706 PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0100; Resume: S (102400); CalcS: No; Mask:
. 2019-02-18 11:28:22.706 TM: B; ClAr: No; RemEOF: No; RemBOM: No; CPS: 0; NewerOnly: No; InclM: ; ResumeL: 0
. 2019-02-18 11:28:22.706 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2019-02-18 11:28:22.706 Getting real path for '/'
> 2019-02-18 11:28:22.706 Type: SSH_FXP_REALPATH, Size: 10, Number: 784
< 2019-02-18 11:28:22.706 Type: SSH_FXP_NAME, Size: 23, Number: 784
. 2019-02-18 11:28:22.706 Real path is '/'
. 2019-02-18 11:28:22.706 File: 'UBEXPORT' [2019-02-16T00:50:38.201Z] [4740755]
. 2019-02-18 11:28:22.706 Copying "UBEXPORT" to remote directory started.
. 2019-02-18 11:28:22.706 Binary transfer mode selected.
. 2019-02-18 11:28:22.706 Checking existence of file.
> 2019-02-18 11:28:22.706 Type: SSH_FXP_LSTAT, Size: 22, Number: 1031
< 2019-02-18 11:28:22.721 Type: SSH_FXP_ATTRS, Size: 46, Number: 1031
. 2019-02-18 11:28:22.721 File exists: UBEXPORT;-;4740755;2019-02-18T16:22:40.000Z;3;"" [0];"" [0];rwxr-x---;0
. 2019-02-18 11:28:22.721 Checking existence of partially transferred file.
> 2019-02-18 11:28:22.721 Type: SSH_FXP_LSTAT, Size: 31, Number: 1287
< 2019-02-18 11:28:22.753 Type: SSH_FXP_STATUS, Size: 92, Number: 1287
< 2019-02-18 11:28:22.753 Status code: 2
. 2019-02-18 11:28:22.753 Opening remote file.
> 2019-02-18 11:28:22.753 Type: SSH_FXP_OPEN, Size: 44, Number: 1539
< 2019-02-18 11:28:22.753 Type: SSH_FXP_HANDLE, Size: 12, Number: 1539
> 2019-02-18 11:28:22.753 Type: SSH_FXP_WRITE, Size: 29996, Number: 2054
. 2019-02-18 11:28:23.268 311 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2019-02-18 11:28:23.268 Type: SSH_FXP_CLOSE, Size: 12, Number: 42756
< 2019-02-18 11:28:23.268 Type: SSH_FXP_STATUS, Size: 17, Number: 41222
< 2019-02-18 11:28:23.268 Status code: 0
< 2019-02-18 11:28:23.268 Type: SSH_FXP_STATUS, Size: 17, Number: 41478
< 2019-02-18 11:28:23.268 Status code: 0
< 2019-02-18 11:28:23.268 Type: SSH_FXP_STATUS, Size: 17, Number: 41734
< 2019-02-18 11:28:23.268 Status code: 0
< 2019-02-18 11:28:23.268 Type: SSH_FXP_STATUS, Size: 17, Number: 41990
< 2019-02-18 11:28:23.268 Status code: 0
< 2019-02-18 11:28:23.268 Type: SSH_FXP_STATUS, Size: 17, Number: 42246
< 2019-02-18 11:28:23.268 Status code: 0
< 2019-02-18 11:28:23.268 Type: SSH_FXP_STATUS, Size: 17, Number: 42502
< 2019-02-18 11:28:23.268 Status code: 0
< 2019-02-18 11:28:23.299 Type: SSH_FXP_STATUS, Size: 17, Number: 42756
< 2019-02-18 11:28:23.299 Status code: 0
> 2019-02-18 11:28:23.299 Type: SSH_FXP_REMOVE, Size: 18, Number: 43021
< 2019-02-18 11:28:23.299 Type: SSH_FXP_STATUS, Size: 17, Number: 43021
< 2019-02-18 11:28:23.299 Status code: 0
> 2019-02-18 11:28:23.299 Type: SSH_FXP_RENAME, Size: 40, Number: 43282
< 2019-02-18 11:28:23.331 Type: SSH_FXP_STATUS, Size: 17, Number: 43282
< 2019-02-18 11:28:23.331 Status code: 0
. 2019-02-18 11:28:23.346 Preserving timestamp [2019-02-16T00:50:38.000Z]
> 2019-02-18 11:28:23.346 Type: SSH_FXP_SETSTAT, Size: 35, Number: 1801
< 2019-02-18 11:28:23.346 Type: SSH_FXP_STATUS, Size: 44, Number: 1801
< 2019-02-18 11:28:23.346 Status code: 8, Message: 1801, Server: SSHServerAPI.SFTP.fxp_attrs, Language:
* 2019-02-18 11:28:23.346 (ETerminal) The server does not support the operation.
* 2019-02-18 11:28:23.346 Error code: 8
* 2019-02-18 11:28:23.346 Error message from server: SSHServerAPI.SFTP.fxp_attrs
. 2019-02-18 11:28:23.346 Asking user:
. 2019-02-18 11:28:23.346 **Upload of file 'UBEXPORT' was successful, but error occurred while setting the permissions and/or timestamp.**
. 2019-02-18 11:28:23.346
. 2019-02-18 11:28:23.346 If the problem persists, turn off setting permissions or preserving timestamp. Alternatively you can turn on 'Ignore permission errors' option. ("The server does not support the operation.
. 2019-02-18 11:28:23.346 Error code: 8
. 2019-02-18 11:28:23.346 Error message from server: SSHServerAPI.SFTP.fxp_attrs")
< 2019-02-18 11:28:23.346 Script: Upload of file 'UBEXPORT' was successful, but error occurred while setting the permissions and/or timestamp.
< 2019-02-18 11:28:23.346 If the problem persists, turn off setting permissions or preserving timestamp. Alternatively you can turn on 'Ignore permission errors' option.
< 2019-02-18 11:28:23.346 Script: The server does not support the operation.
< 2019-02-18 11:28:23.346 Error code: 8
< 2019-02-18 11:28:23.346 Error message from server: SSHServerAPI.SFTP.fxp_attrs
* 2019-02-18 11:28:23.346 (ESkipFile) **Upload of file 'UBEXPORT' was successful, but error occurred while setting the permissions and/or timestamp.**
* 2019-02-18 11:28:23.346
* 2019-02-18 11:28:23.346 If the problem persists, turn off setting permissions or preserving timestamp. Alternatively you can turn on 'Ignore permission errors' option.
* 2019-02-18 11:28:23.346 The server does not support the operation.
* 2019-02-18 11:28:23.346 Error code: 8
* 2019-02-18 11:28:23.346 Error message from server: SSHServerAPI.SFTP.fxp_attrs
. 2019-02-18 11:28:23.346 Copying finished: Transferred: 4,740,755, Elapsed: 0:00:00, CPS: 7,930,611/s
. 2019-02-18 11:28:23.346 Script: Failed
. 2019-02-18 11:28:23.346 Script: Exit code: 1
. 2019-02-18 11:28:23.346 Closing connection.
. 2019-02-18 11:28:23.346 Sending special code: 12
. 2019-02-18 11:28:23.346 Sent EOF message