The PSFTP uses an SFTP protocol version 3. In the SFTP protocol version 3 there are no transfer modes. Or in other words, there's only a binary transfer mode. If you need 'ascii download', you need to convert the downloaded file to Windows format after you download it with PSFTP. Or use another Windows SFTP client that can do it for you.
For example supports the 'ascii download'. If the server supports SFTP version 4 or newer, that supports 'ascii download' natively, it uses that. If not, WinSCP converts the file after download automatically. This is a simple batch file (.bat) to download a file in ascii mode in WinSCP: winscp.com /log='c: path sftp.log' /command ^ 'open sftp://username:[email protected]/' ^ 'get -transfer=ascii /remote/path/file.txt c: local path file.txt' ^ 'exit' For details see:. and. (I'm the author of WinSCP).
PuTTY is an amazingly good project that does pretty much everything you'll ever need to use SSH on Windows. However, its PPK files are incompatible with the standard SSH key format used on Mac OS X (and every other Unix-y OS I've ever used). It includes an easy utility to convert in and out of PPK. Multi PuTTY Manager (MPManager) helps to open and manage multiple PuTTY sessions in tabs. All PuTTY sessions are managed and stored under folders. This application is developed based on the inspiration of PuTTY Connection Manager application which was out of support.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |