
Right now, the attribute parsing code bails and discards any results. I'm not sure what the right action was here. Error messages and/or handling for mis-matched permissions or the directory bit should be filled in.

That should be verified by someone more familiar with the code. The timezone adjustment code wasn't commented much, so I couldn't tell if it was adjusting entry.time to UTC, or to the local timezone of the client.'a'-'f' was computing using (c-'0'+10) instead of (c-'a'+10).īecause these times are already returned in UTC, I added a new timestamp flag in CDirentry to keep track of whether an entry had been timezone-adjusted or not. Here’s a short explanation of each line: Protocol protocol for exchanging files over any network. Once the Site Manager window pops up, click New Site and fill in the columns with your FTP details. I also fixed a small bug in CToken::GetNumber(hex). You can do so by going to the File menu or pressing CTRL+S ( CMD+S on macOS). It accepts the mtime as valid, and verifies that the permissions match what was parsed out of the text. On the client end, I've added code that parses this (if enabled) in directorylistingparser.cpp. I've added new fzstp.exe commands (dir-fz and ls-fz) which output the original directory listing data on one line as before, and then follows that up with whatever binary attributes were supplied in the directory listing. FZ only parses the text portion of the directory listing, but servers can optionally provide second-resolution UTC timestamps (see section 5 of ).įzstp.exe already supported parsing this data, but did not output it to the fz client. SFTP actually does transfer more attribute details than what the FZ client shows. I've attached a patch that remedies this issue.
