- martin
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.
Topic review
- rsather
Log is attached
Here is the log:
. 2013-01-10 10:43:41.273 --------------------------------------------------------------------------
. 2013-01-10 10:43:41.273 WinSCP Version 5.1.2 (Build 2816) (OS 5.2.3790 Service Pack 2)
. 2013-01-10 10:43:41.273 Configuration: D:\Programs\WinSCP.ini
. 2013-01-10 10:43:41.273 Local account: USER
. 2013-01-10 10:43:41.273 Working directory: D:\Programs
. 2013-01-10 10:43:41.273 Command-line: "D:\Programs\WinSCP.exe" /console=512 /consoleinstance=_4144_41 "/log=D:\logwinscp.txt"
. 2013-01-10 10:43:41.273 Time zone: Current: GMT-6, Standard: GMT-6, DST: GMT-5, DST Start: 3/10/2013, DST End: 11/3/2013
. 2013-01-10 10:43:41.273 Login time: Thursday, January 10, 2013 10:43:41 AM
. 2013-01-10 10:43:41.273 --------------------------------------------------------------------------
. 2013-01-10 10:43:41.273 Session name: IP (Ad-Hoc session)
. 2013-01-10 10:43:41.273 Host name: IP (Port: 22)
. 2013-01-10 10:43:41.273 User name: (Password: No, Key file: No)
. 2013-01-10 10:43:41.273 Tunnel: No
. 2013-01-10 10:43:41.273 Transfer Protocol: SFTP (SCP)
. 2013-01-10 10:43:41.273 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2013-01-10 10:43:41.273 Proxy: none
. 2013-01-10 10:43:41.273 SSH protocol version: 2; Compression: No
. 2013-01-10 10:43:41.273 Bypass authentication: No
. 2013-01-10 10:43:41.273 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2013-01-10 10:43:41.273 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2013-01-10 10:43:41.273 SSH Bugs: A,A,A,A,A,A,A,A,A,A
. 2013-01-10 10:43:41.273 SFTP Bugs: A,A
. 2013-01-10 10:43:41.273 Return code variable: Autodetect; Lookup user groups: A
. 2013-01-10 10:43:41.273 Shell: default
. 2013-01-10 10:43:41.273 EOL: 0, UTF: 2
. 2013-01-10 10:43:41.273 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2013-01-10 10:43:41.273 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2013-01-10 10:43:41.273 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2013-01-10 10:43:41.273 Cache directory changes: Yes, Permanent: Yes
. 2013-01-10 10:43:41.273 DST mode: 1
. 2013-01-10 10:43:57.944 --------------------------------------------------------------------------
. 2013-01-10 10:43:57.944 WinSCP Version 5.1.2 (Build 2816) (OS 5.2.3790 Service Pack 2)
. 2013-01-10 10:43:57.960 Configuration: PATH\WinSCP.ini
. 2013-01-10 10:43:57.960 Local account: USER
. 2013-01-10 10:43:57.960 Working directory: PATH
. 2013-01-10 10:43:57.960 Command-line: "PATH\WinSCP.exe" /console=512 /consoleinstance=_4144_41 "/log=logwinscp.txt"
. 2013-01-10 10:43:57.960 Time zone: Current: GMT-6, Standard: GMT-6, DST: GMT-5, DST Start: 3/10/2013, DST End: 11/3/2013
. 2013-01-10 10:43:57.960 Login time: Thursday, January 10, 2013 10:43:57 AM
. 2013-01-10 10:43:57.960 --------------------------------------------------------------------------
. 2013-01-10 10:43:57.960 Session name: USER@IP (Ad-Hoc session)
. 2013-01-10 10:43:57.960 Host name: IP (Port: 21)
. 2013-01-10 10:43:57.960 User name: user (Password: Yes, Key file: No)
. 2013-01-10 10:43:57.960 Tunnel: No
. 2013-01-10 10:43:57.960 Transfer Protocol: FTP
. 2013-01-10 10:43:57.960 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2013-01-10 10:43:57.960 Proxy: none
. 2013-01-10 10:43:57.960 FTP: FTPS: None; Passive: Yes [Force IP: A]
. 2013-01-10 10:43:57.960 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2013-01-10 10:43:57.960 Cache directory changes: Yes, Permanent: Yes
. 2013-01-10 10:43:57.960 DST mode: 1
. 2013-01-10 10:43:57.960 --------------------------------------------------------------------------
. 2013-01-10 10:43:58.069 Connecting to IP ...
. 2013-01-10 10:43:58.163 Connected with IP. Waiting for welcome message...
< 2013-01-10 10:43:58.538 220 FTP server (IBM 4690 TCP/IP FTP Version 1.0) ready.
> 2013-01-10 10:43:58.538 USER user
< 2013-01-10 10:43:58.679 331 Password required for ftpuser.
> 2013-01-10 10:43:58.679 PASS *********
< 2013-01-10 10:43:58.741 230 User ftpuser logged in.
> 2013-01-10 10:43:58.741 SYST
< 2013-01-10 10:43:58.804 215 OS 4690 operating system
> 2013-01-10 10:43:58.804 FEAT
< 2013-01-10 10:43:58.866 502 Unknown command.
. 2013-01-10 10:43:58.882 Connected
. 2013-01-10 10:43:58.898 --------------------------------------------------------------------------
. 2013-01-10 10:43:58.913 Using FTP protocol.
. 2013-01-10 10:43:58.929 Doing startup conversation with host.
> 2013-01-10 10:43:58.929 PWD
< 2013-01-10 10:43:58.991 257 "c:\" is current directory.
. 2013-01-10 10:43:59.007 Getting current directory name.
. 2013-01-10 10:43:59.007 Startup conversation with host finished.
< 2013-01-10 10:43:59.007 Script: Active session: [1] USER@IP
> 2013-01-10 10:44:06.538 Script: cd ej
. 2013-01-10 10:44:06.538 Changing directory to "ej".
. 2013-01-10 10:44:06.538 Synchronizing current directory "c:\".
> 2013-01-10 10:44:06.538 CWD c:\
< 2013-01-10 10:44:06.601 250 CWD command successful.
> 2013-01-10 10:44:06.601 CWD ej
< 2013-01-10 10:44:06.679 250 CWD command successful.
. 2013-01-10 10:44:06.679 Getting current directory name.
> 2013-01-10 10:44:06.679 PWD
< 2013-01-10 10:44:06.741 257 "c:\ej" is current directory.
< 2013-01-10 10:44:06.741 Script: c:\ej
> 2013-01-10 10:44:22.179 Script: ren ESCTRANS ESCTRANS.OLD
. 2013-01-10 10:44:22.179 Moving file "ESCTRANS" to "ESCTRANS.OLD".
> 2013-01-10 10:44:22.179 RNFR /c:/ej/ESCTRANS
< 2013-01-10 10:44:22.257 550 Unable to do a lookup on the file name specified.
. 2013-01-10 10:44:22.257 Asking user:
. 2013-01-10 10:44:22.257 Error moving file 'ESCTRANS' to 'ESCTRANS.OLD'. ("Unable to do a lookup on the file name specified.")
< 2013-01-10 10:44:22.257 Script: Error moving file 'ESCTRANS' to 'ESCTRANS.OLD'.
< 2013-01-10 10:44:22.257 Script: Unable to do a lookup on the file name specified.
> 2013-01-10 10:44:26.991 RNFR /c:/ej/ESCTRANS
< 2013-01-10 10:44:27.054 550 Unable to do a lookup on the file name specified.
. 2013-01-10 10:44:27.054 Asking user:
. 2013-01-10 10:44:27.054 Error moving file 'ESCTRANS' to 'ESCTRANS.OLD'. ("Unable to do a lookup on the file name specified.")
< 2013-01-10 10:44:27.054 Script: Error moving file 'ESCTRANS' to 'ESCTRANS.OLD'.
< 2013-01-10 10:44:27.054 Script: Unable to do a lookup on the file name specified.
< 2013-01-10 10:44:29.366 Script: ESCTRANS
> 2013-01-10 10:44:32.616 Script: bye
. 2013-01-10 10:44:32.616 Script: Exit code: 1
. 2013-01-10 10:44:32.616 Disconnected from server
. 2013-01-10 10:43:41.273 --------------------------------------------------------------------------
. 2013-01-10 10:43:41.273 WinSCP Version 5.1.2 (Build 2816) (OS 5.2.3790 Service Pack 2)
. 2013-01-10 10:43:41.273 Configuration: D:\Programs\WinSCP.ini
. 2013-01-10 10:43:41.273 Local account: USER
. 2013-01-10 10:43:41.273 Working directory: D:\Programs
. 2013-01-10 10:43:41.273 Command-line: "D:\Programs\WinSCP.exe" /console=512 /consoleinstance=_4144_41 "/log=D:\logwinscp.txt"
. 2013-01-10 10:43:41.273 Time zone: Current: GMT-6, Standard: GMT-6, DST: GMT-5, DST Start: 3/10/2013, DST End: 11/3/2013
. 2013-01-10 10:43:41.273 Login time: Thursday, January 10, 2013 10:43:41 AM
. 2013-01-10 10:43:41.273 --------------------------------------------------------------------------
. 2013-01-10 10:43:41.273 Session name: IP (Ad-Hoc session)
. 2013-01-10 10:43:41.273 Host name: IP (Port: 22)
. 2013-01-10 10:43:41.273 User name: (Password: No, Key file: No)
. 2013-01-10 10:43:41.273 Tunnel: No
. 2013-01-10 10:43:41.273 Transfer Protocol: SFTP (SCP)
. 2013-01-10 10:43:41.273 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2013-01-10 10:43:41.273 Proxy: none
. 2013-01-10 10:43:41.273 SSH protocol version: 2; Compression: No
. 2013-01-10 10:43:41.273 Bypass authentication: No
. 2013-01-10 10:43:41.273 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2013-01-10 10:43:41.273 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2013-01-10 10:43:41.273 SSH Bugs: A,A,A,A,A,A,A,A,A,A
. 2013-01-10 10:43:41.273 SFTP Bugs: A,A
. 2013-01-10 10:43:41.273 Return code variable: Autodetect; Lookup user groups: A
. 2013-01-10 10:43:41.273 Shell: default
. 2013-01-10 10:43:41.273 EOL: 0, UTF: 2
. 2013-01-10 10:43:41.273 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2013-01-10 10:43:41.273 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2013-01-10 10:43:41.273 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2013-01-10 10:43:41.273 Cache directory changes: Yes, Permanent: Yes
. 2013-01-10 10:43:41.273 DST mode: 1
. 2013-01-10 10:43:57.944 --------------------------------------------------------------------------
. 2013-01-10 10:43:57.944 WinSCP Version 5.1.2 (Build 2816) (OS 5.2.3790 Service Pack 2)
. 2013-01-10 10:43:57.960 Configuration: PATH\WinSCP.ini
. 2013-01-10 10:43:57.960 Local account: USER
. 2013-01-10 10:43:57.960 Working directory: PATH
. 2013-01-10 10:43:57.960 Command-line: "PATH\WinSCP.exe" /console=512 /consoleinstance=_4144_41 "/log=logwinscp.txt"
. 2013-01-10 10:43:57.960 Time zone: Current: GMT-6, Standard: GMT-6, DST: GMT-5, DST Start: 3/10/2013, DST End: 11/3/2013
. 2013-01-10 10:43:57.960 Login time: Thursday, January 10, 2013 10:43:57 AM
. 2013-01-10 10:43:57.960 --------------------------------------------------------------------------
. 2013-01-10 10:43:57.960 Session name: USER@IP (Ad-Hoc session)
. 2013-01-10 10:43:57.960 Host name: IP (Port: 21)
. 2013-01-10 10:43:57.960 User name: user (Password: Yes, Key file: No)
. 2013-01-10 10:43:57.960 Tunnel: No
. 2013-01-10 10:43:57.960 Transfer Protocol: FTP
. 2013-01-10 10:43:57.960 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2013-01-10 10:43:57.960 Proxy: none
. 2013-01-10 10:43:57.960 FTP: FTPS: None; Passive: Yes [Force IP: A]
. 2013-01-10 10:43:57.960 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2013-01-10 10:43:57.960 Cache directory changes: Yes, Permanent: Yes
. 2013-01-10 10:43:57.960 DST mode: 1
. 2013-01-10 10:43:57.960 --------------------------------------------------------------------------
. 2013-01-10 10:43:58.069 Connecting to IP ...
. 2013-01-10 10:43:58.163 Connected with IP. Waiting for welcome message...
< 2013-01-10 10:43:58.538 220 FTP server (IBM 4690 TCP/IP FTP Version 1.0) ready.
> 2013-01-10 10:43:58.538 USER user
< 2013-01-10 10:43:58.679 331 Password required for ftpuser.
> 2013-01-10 10:43:58.679 PASS *********
< 2013-01-10 10:43:58.741 230 User ftpuser logged in.
> 2013-01-10 10:43:58.741 SYST
< 2013-01-10 10:43:58.804 215 OS 4690 operating system
> 2013-01-10 10:43:58.804 FEAT
< 2013-01-10 10:43:58.866 502 Unknown command.
. 2013-01-10 10:43:58.882 Connected
. 2013-01-10 10:43:58.898 --------------------------------------------------------------------------
. 2013-01-10 10:43:58.913 Using FTP protocol.
. 2013-01-10 10:43:58.929 Doing startup conversation with host.
> 2013-01-10 10:43:58.929 PWD
< 2013-01-10 10:43:58.991 257 "c:\" is current directory.
. 2013-01-10 10:43:59.007 Getting current directory name.
. 2013-01-10 10:43:59.007 Startup conversation with host finished.
< 2013-01-10 10:43:59.007 Script: Active session: [1] USER@IP
> 2013-01-10 10:44:06.538 Script: cd ej
. 2013-01-10 10:44:06.538 Changing directory to "ej".
. 2013-01-10 10:44:06.538 Synchronizing current directory "c:\".
> 2013-01-10 10:44:06.538 CWD c:\
< 2013-01-10 10:44:06.601 250 CWD command successful.
> 2013-01-10 10:44:06.601 CWD ej
< 2013-01-10 10:44:06.679 250 CWD command successful.
. 2013-01-10 10:44:06.679 Getting current directory name.
> 2013-01-10 10:44:06.679 PWD
< 2013-01-10 10:44:06.741 257 "c:\ej" is current directory.
< 2013-01-10 10:44:06.741 Script: c:\ej
> 2013-01-10 10:44:22.179 Script: ren ESCTRANS ESCTRANS.OLD
. 2013-01-10 10:44:22.179 Moving file "ESCTRANS" to "ESCTRANS.OLD".
> 2013-01-10 10:44:22.179 RNFR /c:/ej/ESCTRANS
< 2013-01-10 10:44:22.257 550 Unable to do a lookup on the file name specified.
. 2013-01-10 10:44:22.257 Asking user:
. 2013-01-10 10:44:22.257 Error moving file 'ESCTRANS' to 'ESCTRANS.OLD'. ("Unable to do a lookup on the file name specified.")
< 2013-01-10 10:44:22.257 Script: Error moving file 'ESCTRANS' to 'ESCTRANS.OLD'.
< 2013-01-10 10:44:22.257 Script: Unable to do a lookup on the file name specified.
> 2013-01-10 10:44:26.991 RNFR /c:/ej/ESCTRANS
< 2013-01-10 10:44:27.054 550 Unable to do a lookup on the file name specified.
. 2013-01-10 10:44:27.054 Asking user:
. 2013-01-10 10:44:27.054 Error moving file 'ESCTRANS' to 'ESCTRANS.OLD'. ("Unable to do a lookup on the file name specified.")
< 2013-01-10 10:44:27.054 Script: Error moving file 'ESCTRANS' to 'ESCTRANS.OLD'.
< 2013-01-10 10:44:27.054 Script: Unable to do a lookup on the file name specified.
< 2013-01-10 10:44:29.366 Script: ESCTRANS
> 2013-01-10 10:44:32.616 Script: bye
. 2013-01-10 10:44:32.616 Script: Exit code: 1
. 2013-01-10 10:44:32.616 Disconnected from server
- martin
Re: Unable to rename a file when connected using WINSCP
Please attach a full log file showing the problem (using both the latest version of WinSCP and built-in FTP).
To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.
- rsather
Unable to rename a file when connected using WINSCP
Issue renaming a file in WINSCP.COM
When connecting to a machine and trying to rename a filing using the mv command, WINSCP gives me an error:
You are not authorized to delete files from filepath directory.
If I login using the Windows XP built in FTP client using the exact same FTP credentials I can rename the file.
I'd really like to use winscp as it is much more efficient and scripting friendly, but I need to be able to rename this file after I get it.
When connecting to a machine and trying to rename a filing using the mv command, WINSCP gives me an error:
You are not authorized to delete files from filepath directory.
If I login using the Windows XP built in FTP client using the exact same FTP credentials I can rename the file.
I'd really like to use winscp as it is much more efficient and scripting friendly, but I need to be able to rename this file after I get it.