- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FTP query
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2006 10:16 PM
07-03-2006 10:16 PM
Thanks,
Tim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2006 10:21 PM
07-03-2006 10:21 PM
Re: FTP query
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2006 10:23 PM
07-03-2006 10:23 PM
Re: FTP query
How did you transfer the file between PC and UNix ? Try to use ascii mode for text files.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2006 11:41 PM
07-03-2006 11:41 PM
Re: FTP query
I have transferred the file as Ascii but whin I open it in Notepad or Wordpad it has an extra blank line at the end. Bin doesn't work.
Thanks,
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2006 12:46 AM
07-04-2006 12:46 AM
Re: FTP query
The ftp client for Windows is very simple and it can't tell binary from ascii.
If you use it you must know if the file is ascii or binary before you ftp.
There is an HP-UX command called file that will help you determine this.
file fileman.ddr
Will say binary or ascii.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2006 01:02 AM
07-04-2006 01:02 AM
Re: FTP query
# vis -n
command to check it.
Andrey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2006 01:07 AM
07-04-2006 01:07 AM
Re: FTP query
At the ftp client's prompt type "?" or "help" to get a list of available commands.
Type "status" to get your current mode displayed. If it doesn't show binary mode type "binary" (note, most of these commands may be abbreviated from the point of unambiguaty).
Often I additionaly enable hashmark printing with "hash" to better follow the load.
While in bin mode there should no attempts being made of "correcting" any ends of line or end of file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2006 01:10 AM
07-04-2006 01:10 AM
Re: FTP query
1
2
3
4
on HPUX using vi and then ftp it from unix to Windows I get the file plus an extra line after the line with 4 giving a total of 5 lines in Wordpad/Notepad.
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2006 01:17 AM
07-04-2006 01:17 AM
SolutionThe extra blank line problem is seen throughout Windows/DOS and is a feature, not a bug (smiley face). This is probably a feature of the ftp server code in the PC (no fix). Any PC program that cannot accomodate the vagaries of variable length and content files needs rewriting.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2006 02:12 AM
07-04-2006 02:12 AM
Re: FTP query
Bill,
The software is third party so I will write a batch file to remove the last line.
Many Thanks,
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2006 09:08 AM
07-04-2006 09:08 AM
Re: FTP query
http://gnuwin32.sourceforge.net/packages/sed.htm
WinVi is also a very nice tool -- it actually works:
http://www.winvi.de/en/
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2006 07:30 PM
07-04-2006 07:30 PM