The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > 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
Weird Awk issue Khoomfire UNIX for Advanced & Expert Users 17 04-14-2008 07:13 AM
Weird scenario with Awk Khoomfire UNIX for Advanced & Expert Users 4 10-29-2007 12:25 AM
weird core nkshirsagar HP-UX 1 10-06-2005 02:33 AM
Weird SSH issue AKM UNIX for Advanced & Expert Users 6 11-08-2004 02:13 PM
Weird script Duckman UNIX for Dummies Questions & Answers 2 03-14-2001 01:53 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-28-2005
IngmarMeins IngmarMeins is offline
Registered User
  
 

Join Date: Nov 2005
Location: Griffith, NSW, Australia
Posts: 5
HP-UX weird FTP ?

Hi,

I am trying to connect to a distributors FTP server (which returns the prompt at the bottom of this post). Each week these people post our sales data using the same file names. When you do an ls you can see them all there for months on end. When I use my windows or linux ftp clients I can only download the latest file. Is this the expected behaviour or am I going nuts !! They have told me "all the files are there, download them" , well yeah but how do I access the older files ?

ANY help would be appreciated !

Regards,

Ingmar
Griffith, NSW Australia

220 <<<Connect:Enterprise UNIX 2.2.00 Secure FTP>>> at mboxfox FTP server ready. Time = 13:54:01
  #2 (permalink)  
Old 11-29-2005
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
How does this involve HP-UX? "I can only download the latest file"... no one can do anything with a report like that. What command are you using to download the file? What results do you get?
  #3 (permalink)  
Old 11-29-2005
IngmarMeins IngmarMeins is offline
Registered User
  
 

Join Date: Nov 2005
Location: Griffith, NSW, Australia
Posts: 5
G'day,

The box is a HP/UX box, therefore I'm posting in the HP/UX area and this seemed to be a weird HP/UX ftp issue.

"I can only download the latest file" is the exact symptom I have, having explained that I can see all of the previous versions of the file "for months and months on end".

I use get or mget * and it sends the latest version of the file(s) I can see after doing a ls, but apparently it's possible to retrieve the older files which only differ in their date stamps from the ones I receive.

Clear as mud !
  #4 (permalink)  
Old 11-29-2005
Cameron's Avatar
Cameron Cameron is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2001
Location: Brisbane, Australia
Posts: 499
Can you post an `ls` listing of the files you'd like to get?
From what you've mentioned, it is weird, but there has to be a reason for the drama.
  #5 (permalink)  
Old 11-29-2005
Ygor's Avatar
Ygor Ygor is offline Forum Staff  
Moderator
  
 

Join Date: Oct 2003
Location: -31.96,115.84
Posts: 1,407
Perhaps all the files are there but you only have have permissions to download the latest one?
  #6 (permalink)  
Old 11-29-2005
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,717
Actual file versions are a VAX thing
Code:
file1.lis;1
file1.lis;2
I think you must mean something like:
Code:
file1-v10.gz
file2-v11.gz
Instead of mget, try using an explicit filename for an "older" version and see what return code you get.

If it is a VAX server then you may have problem if ftp decides "to unix" the filename - ie, drop the semi-colon part. Which would explain your results.
  #7 (permalink)  
Old 11-29-2005
IngmarMeins IngmarMeins is offline
Registered User
  
 

Join Date: Nov 2005
Location: Griffith, NSW, Australia
Posts: 5
Here is an ls from the system. Note the identical files names repeat just with different dates.

Many thanks for the replies so far.

Ingmar

ftp> ls
227 Entering Passive Mode (203,47,212,78,231,199)
150 Opening ASCII mode data connection for .
-ART------TCP A mailbox 1249 2943 Nov 13 18:46 AD174481.zip
-ART------TCP A mailbox 46189 266012 Nov 13 19:20 AC174481.zip
-ART------TCP A mailbox 32643 615 Nov 13 19:21 AP174481.zip
-ART------TCP A mailbox 50530 988 Nov 13 19:21 AG174481.zip
-ART------TCP A mailbox 62588 387 Nov 13 19:21 AB174481.zip
-ART------TCP A mailbox 73762 1734 Nov 13 19:21 AY174481.zip
-ART------TCP A mailbox 30502 2756 Nov 13 19:38 AW174481.zip
-ART------TCP A mailbox 14551 266556 Nov 20 19:30 AC174481.zip
-ART------TCP A mailbox 64622 615 Nov 20 19:31 AP174481.zip
-ART------TCP A mailbox 30784 990 Nov 20 19:31 AG174481.zip
-ART------TCP A mailbox 25710 386 Nov 20 19:31 AB174481.zip
-ART------TCP A mailbox 63104 1733 Nov 20 19:31 AY174481.zip
-ART------TCP A mailbox 13841 1224 Nov 20 19:42 AW174481.zip
-ART------TCP A mailbox 16920 893 Nov 20 19:57 AD174481.zip
-ART------TCP A mailbox 70548 266849 Nov 27 18:55 AC174481.zip
-ART------TCP A mailbox 50431 616 Nov 27 18:55 AP174481.zip
-ART------TCP A mailbox 69104 989 Nov 27 18:55 AG174481.zip
-ART------TCP A mailbox 64914 386 Nov 27 18:55 AB174481.zip
-ART------TCP A mailbox 55458 1734 Nov 27 18:55 AY174481.zip
-ART------TCP A mailbox 66336 1571 Nov 27 19:15 AW174481.zip
-ART------TCP A mailbox 33629 1101 Nov 27 19:34 AD174481.zip
Total number of batches listed: 21
226 Transfer complete.
ftp>
Closed Thread

Bookmarks

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:07 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0