HP-UX weird FTP ?


 
Thread Tools Search this Thread
Operating Systems HP-UX HP-UX weird FTP ?
# 1  
Old 11-28-2005
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  
Old 11-29-2005
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  
Old 11-29-2005
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  
Old 11-29-2005
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  
Old 11-29-2005
Perhaps all the files are there but you only have have permissions to download the latest one?
# 6  
Old 11-29-2005
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  
Old 11-29-2005
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>
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. SCO

SCO UNIX ftp - weird kind of working

hi, i am working on sco unix 5.07, i have 10 individual servers networked locally in which sco os is installed. one of them is not transferring the file to other servers but accepting all files. means Server (A) can accept the file through FTP from any server but not transferring FTP its own... (9 Replies)
Discussion started by: aafflatoon
9 Replies

2. Ubuntu

Weird rm behaviour

I am little bit confused by the behaviour of rm in Ubuntu. It seems that as a regular user I can delete files owned by another user even when the permissions are set to 644. Here is an example: cjohnson@carbon:~/test$ sudo touch testfile cjohnson@carbon:~/test$ ls -al total 8 drwxr-xr-x... (2 Replies)
Discussion started by: ccj4467
2 Replies

3. Red Hat

Something weird with the FS size

Hi, I have a problem with a Files system. # df -h Sys. de fich. Tail. Occ. Disp. %Occ. Monté sur /dev/cciss/c0d0p3 5,7G 3,7G 1,8G 68% / /dev/cciss/c0d0p1 97M 9,9M 82M 11% /boot /dev/cciss/c0d0p7 2,9G 2,0G 802M 71% /cache tmpfs 506M 0 ... (2 Replies)
Discussion started by: Castelior
2 Replies

4. UNIX for Dummies Questions & Answers

weird 'ls' output

Hi, Anyone knows why I can't display the contents of my directory and how to fix this? http://i50.tinypic.com/4smfth.jpg Thanks in advance for any advise. Deanne Double post. Continued here. (0 Replies)
Discussion started by: Deanne
0 Replies

5. IP Networking

Weird configuration

Hi All, I have a problem with a weird configuration that I need and a few possible solutions came up, but I do not know how to implement none of them. Let me explain the situation: I have one switch, one tftp server (linux) and a couple of embedded devices that have the same IP address and... (0 Replies)
Discussion started by: lagigliaivan
0 Replies

6. UNIX for Dummies Questions & Answers

File with a weird name 'q'

All, I have the following listing of files $ ls -lrt -rw-rw-rw- 1 user1 group1 335691 Aug 4 17:45 script1.sh -rw-rw-rw- 1 user1 group1 648 Aug 4 17:45 try,csv -rw-rw-rw- 1 user1 group1 1381275 Aug 4 17:45 test.txt -rw-rw-rw- 1 user1 group1 ... (7 Replies)
Discussion started by: rahulrathod
7 Replies

7. Windows & DOS: Issues & Discussions

weird stuff

I coudln't think of another topic to post this under as the OS on the system is XP pro. Ok here is the go. I'm upgrdaing a mates computer. A AMD 1200Mhz and well it wouldn't boot from the CD to do a fresh install (By upgrade I mean OS with complete new install). So I opened up the box and... (4 Replies)
Discussion started by: woofie
4 Replies

8. UNIX for Advanced & Expert Users

Weird Question

As in Windows we have Video memory and we can access it through C programs, do we have anything similar to that in Unix and similar operating systems. If we have some sort of Video memory in Unix flavours, then how can we access it through C programs. (4 Replies)
Discussion started by: rahulrathod
4 Replies

9. Shell Programming and Scripting

weird permissions

Context: Apache 2.0, Redhat 8.0, Perl 5.80 I am using the follwing line to write a file open UPLOADFILE, ">$writeto" or errorcantwrite(); which works just fine when the directory permissions are 700 However .... I dont want to have a directory that allows users to both upload and... (1 Reply)
Discussion started by: andyj
1 Replies
Login or Register to Ask a Question