[olug] ftp problem - downloading 1 of 2 files that share same name

Terry td3201 at gmail.com
Mon Aug 16 17:32:56 UTC 2004


Didn't know you could automate mc....

On Mon, 16 Aug 2004 09:52:34 -0700 (PDT), Sean Edwards
<cybersean3000 at yahoo.com> wrote:
> Have you tried the FTP function of Midnight Commander?
> 
> -=Sean Edwards=-
> cybersean3000 at yahoo.com
> 
> 
> 
> 
> --- Terry <td3201 at gmail.com> wrote:
> 
> > I dont think its a broken FTP server.  It is meant
> > to act this way.
> > That is why they want you to use a graphical client.
> >
> > Anyone know how I can emulate an mget in perl?
> > ftp->get("*") doesnt
> > do what I want.
> >
> > Since this is automated, I may need to use lftp or
> > something instead.
> >
> >
> >
> > On Mon, 16 Aug 2004 10:48:30 -0500 (CDT), Daniel
> > Linder <dan at linder.org> wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > <quote who="Terry">
> > > > I have an interesting problem.  I am downloading
> > files from a
> > > > proprietary 'ftp' server.   Here is an ls:
> > > >
> > > > -ARTE-----TCP A ceunix        106   399948 Jun
> > 23 14:31 02440029.INS
> > > > -ART------TCP A ceunix       1842   399948 Aug
> > 12 10:52 02440029.INS
> > > >
> > > > The ARTE 'permissions' mean that the file is not
> > available for
> > > > download.  You get an error if you try to
> > download it.  I need to
> > > > download the file without the E in the
> > permissions somehow.
> > >
> > > There are two reasons for this file name showing
> > up "twice":
> > > 1: Broken FTPd server... :(
> > > 2: The file name has an invisible character that
> > we can't see and/or we
> > > can't send back to the FTP server.
> > >
> > > My gut feeling is that it is the first option.
> > >
> > > > When I do a 'get 02440029.INS', it will grab the
> > first one in the list
> > > > which is the one I don't want.
> > >
> > > As a test (but not really a solution to your
> > problem), can you issue
> > > "prompt" and then "mget 02440029.INS*" -- the
> > prompt says ask before
> > > downloading anything, and the "mget" will do a
> > multiple get and try to
> > > download all the files that match the filename
> > expression.
> > >
> > > Dan
> > >
> > > - - - - -
> > > "I do not fear computer,
> > > I fear the lack of them."
> > >  -- Isaac Asimov
> > >
> > > -----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v1.2.1 (GNU/Linux)
> > >
> > >
> >
> iD8DBQFBINdONiBNyqUzGb8RArsAAJsG8uHjdbr5d41PYnwZrSgUSPMBIgCfSBQZ
> > > ekONgUh6sKDQUIYDIhF3Ktw=
> > > =RlCK
> > > -----END PGP SIGNATURE-----
> > >
> > _______________________________________________
> > OLUG mailing list
> > OLUG at olug.org
> > http://lists.olug.org/mailman/listinfo/olug
> >
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
> http://promotions.yahoo.com/new_mail
>



More information about the OLUG mailing list