mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 14:39:24 -05:00
Now that rm, mkdir, and rmdir can operate on lots of files, make them more
chatty like the other multiple-file commands. [originally from svn r5059]
This commit is contained in:
parent
5c952ce64e
commit
e5f13ceee5
7
psftp.c
7
psftp.c
@ -1396,7 +1396,8 @@ int sftp_cmd_mkdir(struct sftp_command *cmd)
|
|||||||
printf("mkdir %s: %s\n", dir, fxp_error());
|
printf("mkdir %s: %s\n", dir, fxp_error());
|
||||||
sfree(dir);
|
sfree(dir);
|
||||||
ret = 0;
|
ret = 0;
|
||||||
}
|
} else
|
||||||
|
printf("mkdir %s: OK\n", dir);
|
||||||
|
|
||||||
sfree(dir);
|
sfree(dir);
|
||||||
}
|
}
|
||||||
@ -1420,6 +1421,8 @@ static int sftp_action_rmdir(void *vctx, char *dir)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
printf("rmdir %s: OK\n", dir);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1460,6 +1463,8 @@ static int sftp_action_rm(void *vctx, char *fname)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
printf("rm %s: OK\n", fname);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user