Re: ftp problem

From: Bill Verzal (Bill_Verzal@BCBSIL.COM)
Date: Tue Feb 04 2003 - 12:14:19 EST


Nope. What it looks like to us is that data and commands are running on
the same port. But it is only for this current directory. User-id does
not matter - root or owner give the same results.

BV
--------------------------------------------------------------------------------------------------------

Bill Verzal
Technical Consultant
Forbes Technical Consulting
(312) 653-3684
bill_verzal@bcbsil.com
billverzal@imcingular.com (Pager)
888-428-4025 (Pager)
MailStop: 27.202B

                    "Jean-Marc Monnez"
                    <monnez.jean-marc@AGO To: aix-l@Princeton.EDU
                    RA.MSA.FR> cc:
                    Sent by: "IBM AIX Subject: Re: ftp problem
                    Discussion List"
                    <aix-l@Princeton.EDU>

                    02/04/2003 11:01 AM
                    Please respond to
                    "IBM AIX Discussion
                    List"

You may achieve this behaviour with a command like :
ftp> nmap $0 -
which translates every implicit destination filename in - (stdout).
Someone joking with a .netrc ??

HTH. Regards.

-- JMM

-----------------------------
Jean-Marc MONNEZ
MSA / AGORA / ATD
monnez.jean-marc@agora.msa.fr
-----------------------------

Bill Verzal wrote :

> 200 Type set to I.
> ftp> get con.sql
> 200 PORT command successful.
> 150 Opening data connection for con.sql (231 bytes).
> db2 "connect to sblcycdb user sadmin using password"
> db2 "export to jam.txt of del select c.row_id, 1, C.LAST_NAME,
X.Attrib_34,
> X.attrib_35, X.attrib_38
> from SIEBEL.s_CONTACT C, SIEBEL.s_CONTACT_X X where C.row_id =
> X.par_row_id"
> 226 Transfer complete.
> ftp: 231 bytes received in 0.00Seconds 231000.00Kbytes/sec.
> ftp> get con.bill
> 200 PORT command successful.
> 150 Opening data connection for con.bill (231 bytes).
> db2 "connect to sblcycdb user sadmin using password"
> db2 "export to jam.txt of del select c.row_id, 1, C.LAST_NAME,
X.Attrib_34,
> X.attrib_35, X.attrib_38
> from SIEBEL.s_CONTACT C, SIEBEL.s_CONTACT_X X where C.row_id =
> X.par_row_id"
> 226 Transfer complete.
> ftp: 231 bytes received in 0.00Seconds 231000.00Kbytes/sec.
>
> Why would the "get" show me the contents of the file, but not actually
> "get" it ?
>
> BV
>
--------------------------------------------------------------------------------------------------------

>
> Bill Verzal
> Technical Consultant
> Forbes Technical Consulting
> (312) 653-3684
> bill_verzal@bcbsil.com
> billverzal@imcingular.com (Pager)
> 888-428-4025 (Pager)
> MailStop: 27.202B
>
> **********
> The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of
the addressee. Unauthorized use, disclosure, distribution or copying is
strictly prohibited and may be unlawful. If you have received this
communication in error, please notify the sender immediately at
(312)653-6000 in Illinois; (972)766-6900 in Texas; or (800)835-8699 in New
Mexico.
> **********
(See attached file: monnez.jean-marc.vcf)

**********
The information contained in this communication is confidential, private, proprietary, or otherwise privileged and is intended only for the use of the addressee. Unauthorized use, disclosure, distribution or copying is strictly prohibited and may be unlawful. If you have received this communication in error, please notify the sender immediately at (312)653-6000 in Illinois; (972)766-6900 in Texas; or (800)835-8699 in New Mexico.
**********





This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:33 EDT