Thanks Martin;
I updated the screen captures on the link posted earlier to show more data and links: (<invalid hyperlink removed by admin>)
Please post a log file.
See below and the weblink.
You are right. But I do not think that --full-time is portable switch working of all platforms and shells.
My own research indicated that the command is implemented in systems that support the SUS standard, which comprises most of the modern implementations of Linux, at least those that are being used as serious operating systems or enterprise level hosting operating systems.
I have posted the question to LinuxQuestions.org to see which systems do not support the --full-time option. I waited a while to see if there were a lot of responses but so far none. Either that means none have been found or the forum is not read very much.
The ls-la command returns the year instead of the time for files modified as recent as 6 months prior. Surely you cannot consider the ls -la option as a serious method of getting the timestamp for performing synchronization. The objective of using the ls -la is command is to get the actual timestamp so that the times can be set correctly but for files not modified in the current year (or even recently) it is not reliable and makes the whole synchronization task pointless.
As an interim solution, please allow users the option to choose which command to use. That way, for the systems that do support the --full-time option, we can use the synchronization feature reliably.
As for the login process failing for SFTP, I am also posting a log here:
WinSCP Version 3.6.6 (Build 234) (OS 4.10.67766446 A)
Login time: Tuesday, July 27, 2004 9:55:10 PM
--------------------------------------------------------------------------
Session name:
username@
subdomain.onlinehome.us
Host name:
subdomain.onlinehome.us (Port: 22)
User name:
username (Password: Yes, Key file: No)
Transfer Protocol: SFTP (SCP)
SSH protocol version: 2; Compression: No
Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
Ping type: -, Ping interval: 60 sec; Timeout: 15 sec
SSH Bugs: -,-,-,-,-,-,-,-,
Proxy: none
Return code variable: Autodetect; Lookup user groups: Yes
Shell: default, EOL: 0
Local directory: E:\pm200407xx\1and1, Remote directory: /homepages/29/
directory/htdocs, Update: No, Cache: Yes
Cache directory changes: Yes, Permanent: Yes
Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
--------------------------------------------------------------------------
Looking up host "
subdomain.onlinehome.us"
Connecting to 217.160.226.83 port 22
Server version: SSH-1.99-OpenSSH_3.7.1p2 Debian 1:3.7.1p2-1.2
We claim version: SSH-2.0-WinSCP-release-3.6.6
Using SSH protocol version 2
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange
Host key fingerprint is:
ssh-dss 1024 34:47:0f:e9:1a:c2:eb:56:eb:cc:58:59:3a:02:80:b6
Initialised AES-256 client->server encryption
Initialised AES-256 server->client encryption
Using username "
username".
Session password prompt (
username@
subdomain.onlinehome.us's password: )
Using stored password.
Sent password
Access granted
Opened channel for session
Started a shell/command
--------------------------------------------------------------------------
Using SFTP protocol.
Doing startup conversation with host.
Type: SSH_FXP_INIT, Size: 5, Number: -1
Type: SSH_FXP_VERSION, Size: 5, Number: -1
SFTP version 3 negotiated.
Type: SSH_FXP_EXTENDED, Size: 38, Number: 200
Type: SSH_FXP_STATUS, Size: 38, Number: 200
Status/error code: 8
Server does not recognise WinSCP.
Cached directory change via "/homepages/29/
directory/htdocs" to "/homepages/29/
directory/htdocs".
Getting current directory name.
Listing directory "/homepages/29/
directory/htdocs".
Type: SSH_FXP_OPENDIR, Size: 39, Number: 523
Type: SSH_FXP_STATUS, Size: 29, Number: 523
Status/error code: 2, Message: 523, Server: No such file, Language: *
(ECommand) Error listing directory '/homepages/29/
directory/htdocs'.
No such file or directory.
Error code: 2
Error message from server: No such file (*)
Request code: 11
Startup conversation with host finished.