The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
sftp command for file transfer mohanpadamata UNIX for Advanced & Expert Users 2 06-12-2008 06:45 AM
Secure File Transfer Protocol arthikbabu Shell Programming and Scripting 2 02-27-2008 02:30 AM
how i can transfer and receive file in any format over serial port amitpansuria High Level Programming 4 08-02-2007 09:52 PM
Error transferring large file using sftp protocol prashant.patel Shell Programming and Scripting 0 09-07-2006 02:49 PM
File transfer using Zmodem protocol borntorock High Level Programming 0 03-22-2005 11:01 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 06-16-2008
Registered User
 

Join Date: Feb 2006
Posts: 8
SFTP Protocol: How to transfer the file in PC Format

Hi,

We are facing issue with files transfered using SFTP in Hp-UX.

The transfered files are in Unix Format. That is, file format as UNIX (LF) instead of a PC format (CR & LF).

How can we achieve file transfers as PC format using SFTP?

Your help and input will be highly appreciated.

Kind Regards,
Ramesh
Reply With Quote
Forum Sponsor
  #2  
Old 06-17-2008
vbe vbe is offline
Moderator
 

Join Date: Sep 2005
Location: Switzerland
Posts: 748
Is it you are want files from HPUX to be DOS compatible?
Then just ux2dos file>dosfile.txt and tranfer dosfile.txt..
And just in case for the other way round use dos2ux...


All the best
Reply With Quote
  #3  
Old 06-17-2008
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,274
sftp does not have a 'BIN' or 'ASC' command like ftp does. You have to prepare the file beforehand, as vbe describes.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:58 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0