Adding the -l argument to assign user name on sftp is done on ssh and makes the two more similar to use. The diff below is an illustraion of what might be done.

/Lars


 diff sftp.c sftp.c.old
1665c1665
<           "1246hqrvCc:D:i:o:s:S:b:B:F:P:R:l:")) != -1) {
---
          "1246hqrvCc:D:i:o:s:S:b:B:F:P:R:")) != -1) {
1725,1727d1724
<                 case 'l':
<                         addargs(&args, "-l %s", optarg);
<                         break;

Reply via email to