Things consider problems with sftp software - sftp manually first time to accept the fingerprint and anytime software is updated on host. - no ascii mode only binary - no verbose or indication of bytes transfered (you would do an ls after sftp is done) - no mput or mget (this may be a show stopper) but could script could generate itself with all the filenames takes coding. Kenneth Whitaker WhitakerK at mtmc.army.mil Information Systems Management Specialist 200 Stovall Street, RM 8N53-28 Alexandria VA 22332-5000 703.428.2512 Phone 703.428.3329 Fax 703.901.0277 Cell Phone 7039010277 at mobile.mycingular.com Beeper www.cingular.com - click digital messaging Services
> Things consider problems with sftp software > > - sftp manually first time to accept the fingerprint and anytime software > is updated on host.this is a problem with your setup. don't blame sftp.> - no ascii mode only binarywhat is "ascii" ?> - no verbose or indication of bytes transfered (you would do an ls after > sftp is done)sftp is a unix tool, so it usually cries only on errors.> - no mput or mget (this may be a show stopper) but could script could > generate itself with all the filenames takes coding.use get * or put * -m
Hey, Thanks for the fast response. ascii Set the "representation type" to "network ASCII". binary Set the "representation type" to "image". verbose Toggle verbose mode. In verbose mode, all responses from the FTP server are displayed to the user. In addition, if verbose mode is on, when a file transfer completes, statistics regarding the efficiency of the transfer are reported. By default, verbose mode is on if ftp 's commands are coming from a terminal, and off otherwise. -----Original Message----- From: Markus Friedl [mailto:markus at openbsd.org] Sent: Tuesday, January 29, 2002 9:52 AM To: Whitaker, Kenneth Cc: 'openssh-unix-dev at mindrot.org' Subject: Re: Issues with SFTP> Things consider problems with sftp software > > - sftp manually first time to accept the fingerprint and anytimesoftware> is updated on host.this is a problem with your setup. don't blame sftp.> - no ascii mode only binarywhat is "ascii" ?> - no verbose or indication of bytes transfered (you would do an ls after > sftp is done)sftp is a unix tool, so it usually cries only on errors.> - no mput or mget (this may be a show stopper) but could script could > generate itself with all the filenames takes coding.use get * or put * -m
It would be good to also have "hash" display progress as many ftp users consider it to be core functionality. Setting mget and mput as aliases to get and put would also ease confusion. Basically, if you're going to steal the semantics of ftp, please do it as fully as possible. Thanks, --Jason Lacoss-Arnold, Systems Technical Specialist Technical Services - Unix Arch. 314-955-8501 -----Original Message----- From: Markus Friedl [mailto:markus at openbsd.org] Sent: Tuesday, January 29, 2002 9:04 To: Whitaker, Kenneth Cc: 'openssh-unix-dev at mindrot.org' Subject: Re: Issues with SFTP On Tue, Jan 29, 2002 at 09:56:27AM -0500, Whitaker, Kenneth wrote:> ascii Set the "representation type" to "network ASCII". > binary Set the "representation type" to "image".but the concept of 'ascii' is unknown to the sftp client, the server and the protocol. despite it's make sftp has nothing in common with ftp.> verbose Toggle verbose mode. In verbose mode, all > responses from the FTP server are displayed to the > user. In addition, if verbose mode is on, when a > file transfer completes, statistics regarding the > efficiency of the transfer are reported. By > default, verbose mode is on if ftp 's commands are > coming from a terminal, and off otherwise.someone could steal code from scp and implement this. _______________________________________________ openssh-unix-dev at mindrot.org mailing list http://www.mindrot.org/mailman/listinfo/openssh-unix-dev *************************************************************************************** WARNING: All e-mail sent to and from this address will be received or otherwise recorded by the A.G. Edwards corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. *************************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20020129/5ee5c36b/attachment.html
On Tue, 29 Jan 2002, Whitaker, Kenneth wrote:> > - no verbose or indication of bytes transfered (you would do an ls after > > sftp is done) > > sftp is a unix tool, so it usually cries only on errors.Still, a ncsftp (c.f. ncftp) tool would be nice, but it would probably be a separate package. /Tobias
Can verbose become implemented in the next version ? The "get *" works ok but need this part to be more useful. prompt Toggle interactive prompting. Interactive prompt- ing occurs during multiple file transfers to allow the user to selectively retrieve or store files. By default, prompting is turned on. If prompting is turned off, any mget or mput will transfer all files, and any mdelete will delete all files. The ascii is only issue with DOS files anyway. -----Original Message----- From: Markus Friedl [mailto:markus at openbsd.org] Sent: Tuesday, January 29, 2002 10:04 AM To: Whitaker, Kenneth Cc: 'openssh-unix-dev at mindrot.org' Subject: Re: Issues with SFTP On Tue, Jan 29, 2002 at 09:56:27AM -0500, Whitaker, Kenneth wrote:> ascii Set the "representation type" to "network ASCII". > binary Set the "representation type" to "image".but the concept of 'ascii' is unknown to the sftp client, the server and the protocol. despite it's make sftp has nothing in common with ftp.> verbose Toggle verbose mode. In verbose mode, all > responses from the FTP server are displayed to the > user. In addition, if verbose mode is on, when a > file transfer completes, statistics regarding the > efficiency of the transfer are reported. By > default, verbose mode is on if ftp 's commands are > coming from a terminal, and off otherwise.someone could steal code from scp and implement this.
Who is the "someone" to sending the patch ? Your current "get a*" for example would grab every "a*" file no prompting. My goal is not losing functionality with the ftp command. -----Original Message----- From: Markus Friedl [mailto:markus at openbsd.org] Sent: Tuesday, January 29, 2002 11:11 AM To: Whitaker, Kenneth Cc: 'openssh-unix-dev at mindrot.org' Subject: Re: Issues with SFTP On Tue, Jan 29, 2002 at 11:08:07AM -0500, Whitaker, Kenneth wrote:> Can verbose become implemented in the next version ?if someone sends patches.> The "get *" works ok but need this part to be more useful. > > prompt Toggle interactive prompting. Interactive prompt- > ing occurs during multiple file transfers to allow > the user to selectively retrieve or store files. > By default, prompting is turned on. If prompting > is turned off, any mget or mput will transfer > all files, and any mdelete will delete all files.i think this is unlikely to happen, since we don't support mget and mput... -m
On Tue, Jan 29, 2002 at 04:42:43PM +0100, Tobias Ringstrom wrote:> Still, a ncsftp (c.f. ncftp) tool would be nice, but it would probably be > a separate package.you know how to find and merge the source of sftp and ncftp.....
I agree with you on prompt (default off) - but it has it uses. Thanks for your support. -----Original Message----- From: mouring [mailto:mouring at etoh.eviladmin.org] Sent: Tuesday, January 29, 2002 11:17 AM To: Whitaker, Kenneth Cc: 'openssh-unix-dev at mindrot.org' Subject: Re: Issues with SFTP [Charset iso-8859-1 unsupported, filtering to ASCII...]> > Can verbose become implemented in the next version ? >Implement it and it will get in faster. It is on the global list of things to do.. (Like my readline patch <sigh>) But has not occured. Better do it quick... I forsee a code freeze in the near future.> The "get *" works ok but need this part to be more useful. > > prompt Toggle interactive prompting. Interactive prompt- > ing occurs during multiple file transfers to allow > the user to selectively retrieve or store files. > By default, prompting is turned on. If prompting > is turned off, any mget or mput will transfer > all files, and any mdelete will delete all files. >I hate prompt. I hate it.. I hate it..I hate it. <rant> Why the hell would I want to be prompted for EVERY file in my mget when I know what the <BLEEEEEEEEEP> I'm asksing for </rant> =) Sorry, I've never been a fan of 'prompt'. Markus/Damien, if we consider adding prompt. I really ask we have it default 'off' since it is the most annoying thing in the world to remember. =) - Ben
On Tue, Jan 29, 2002 at 09:29:15AM -0500, Whitaker, Kenneth wrote:> Things consider problems with sftp software > > - sftp manually first time to accept the fingerprint and anytime software > is updated on host. > - no ascii mode only binary > - no verbose or indication of bytes transfered (you would do an ls after > sftp is done) > - no mput or mget (this may be a show stopper) but could script could > generate itself with all the filenames takes coding.We use http://www.xbill.org/sftp/. Doesn't have everything you want but it does have 'exec' which OpenSSH sftp does not (allows you to execute a remote command). -- albert chin (china at thewrittenword.com)
> On Tue, 29 Jan 2002, mouring wrote: > :Easier said than done. scp.c and sftp.c are written differently.. I > :was looking at it and I am almost tempted just to rewrite large parts > :of the progressupdate() and family and stick it into misc.c since it > :is not 100% related to rcp code that exists there. > > also note that code is originally from openbsd ftp, where it lives in > util.c. >Where it was just as nasty as it originally was. But if we apply the patch I suggested for malloc()ed status bars in scp. I should port it to ftp/util.c to be consistant. - Ben
On Tue, 29 Jan 2002, Whitaker, Kenneth wrote:> > Things consider problems with sftp software > > - sftp manually first time to accept the fingerprint and anytime > software is updated on host.Only if you overwrite the key files, this is not done by default. BTW if we just accepted the identity, then it wouldn't be _secure_ ftp anymore.> - no ascii mode only binaryNor will there be.> - no verbose or indication of bytes transfered (you would do an ls > after sftp is done)Send a patch> - no mput or mget (this may be a show stopper) but could script could > generate itself with all the filenames takes coding.get & put take multiple filenames -d
On Tue, Jan 29, 2002 at 11:21:51PM +0100, Markus Friedl wrote:> On Tue, Jan 29, 2002 at 04:08:38PM -0500, Nicolas Williams wrote: > > do longjmp() > > please not.Come on! I said "or whatever" :) Nico -- -DISCLAIMER: an automatically appended disclaimer may follow. By posting- -to a public e-mail mailing list I hereby grant permission to distribute- -and copy this message.- Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments.
Possibly Parallel Threads
- [Bug 181] Undocumented mget and mput in sftp
- mput/mget misbehavior
- Restrict commands available in an SFTP session
- smbclient mask command seems not to work the same way with recurse ON for mget and mput
- smbclient mask command seems not to work the same way with recurse ON for mget and mput