Differences From Artifact [63a153e589]:
- File scp.c — part of check-in [1f3fc1c1eb] at 2002-04-18 17:23:12 on branch trunk — Added comments to document '-gui' Windows messages, based on putty-bugs post <E14g2ty-0008WN-00@ixion.tartarus.org> (except for Ryan Finnie's extra messages). (user: jacob size: 55498)
To Artifact [3f362dcadd]:
- File scp.c — part of check-in [bb04719c42] at 2002-06-25 13:51:06 on branch trunk — Forgot to call fxp_init() in `pscp -ls' mode under SFTP. (user: simon size: 55612)
| ︙ | |||
685 686 687 688 689 690 691 692 693 694 695 696 697 698 | 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 | + + + + + + |
void scp_sftp_listdir(char *dirname)
{
struct fxp_handle *dirh;
struct fxp_names *names;
struct fxp_name *ournames;
int nnames, namesize;
int i;
if (!fxp_init()) {
tell_user(stderr, "unable to initialise SFTP: %s", fxp_error());
errs++;
return;
}
printf("Listing directory %s\n", dirname);
dirh = fxp_opendir(dirname);
if (dirh == NULL) {
printf("Unable to open %s: %s\n", dirname, fxp_error());
} else {
|
| ︙ |