[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ftp_get



dearie all, the ftp_get is okie.  finally!
the problem lies with the directory name.  we have a '_' and i guess, it is
not recognize as valid.
thanks to all!


                                                                           
             ftpapi-request@li                                             
             sts.scottklement.                                             
             com                                                        To 
             Sent by:                  ftpapi@xxxxxxxxxxxxxxxxxxxxxx       
             ftpapi-bounces@li                                          cc 
             sts.scottklement.                                             
             com                                                   Subject 
                                       Ftpapi Digest, Vol 9, Issue 4       
                                                                           
             03/14/2007 01:00                                              
             AM                                                            
                                                                           
                                                                           
             Please respond to                                             
             ftpapi@xxxxxxxxxx                                             
               tklement.com                                                
                                                                           
                                                                           




Send Ftpapi mailing list submissions to
             ftpapi@xxxxxxxxxxxxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
             http://www.scottklement.com/mailman/listinfo/ftpapi
or, via email, send a message with subject or body 'help' to
             ftpapi-request@xxxxxxxxxxxxxxxxxxxxxx

You can reach the person managing the list at
             ftpapi-owner@xxxxxxxxxxxxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ftpapi digest..."


Today's Topics:

   1. Re: FTP_GET (Scott Klement)
   2. Re: Ftpapi Digest, Vol 9, Issue 3 (tina_chiew@xxxxxxxxxxxx)
   3. Re: Ftpapi Digest, Vol 9, Issue 3 (Michael Ryan)


----------------------------------------------------------------------

Message: 1
Date: Mon, 12 Mar 2007 12:14:32 -0500
From: Scott Klement <klemscot@xxxxxxxxxxxx>
Subject: Re: FTP_GET
To: HTTPAPI and FTPAPI Projects <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Message-ID: <45F58A78.9080803@xxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

The -1 means that the GET request failed.

To find out why it failed, call the FTP_error() subprocedure.  (All of
the examples -- the members that start with TESTxxxx -- demonstrate this.)

To improve troubleshooting, I suggest turning on logging (callp
FTP_LOG(*ON)) so that messages are logged to the job log.



tina_chiew@xxxxxxxxxxxx wrote:
> Dear all, I am a freshie to this whole FTP and would appreciate if
someone
> could render help.
> I am getting a result of -1 to the above operation.
>
> what does it means?  and would you please suggest some possible
solutions?
> thanks alot, in advance.
>
>


------------------------------

Message: 2
Date: Tue, 13 Mar 2007 09:11:25 +0800
From: tina_chiew@xxxxxxxxxxxx
Subject: Re: Ftpapi Digest, Vol 9, Issue 3
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Message-ID:

<OFC130D242.1EA0441D-ON4825729D.00060DA1-4825729D.00063EE0@xxxxxxxxxxxx>

Content-Type: text/plain; charset=US-ASCII

hi, all.

Yes, the status code for the ftp_open is fine.
actually we have been using this ftp procedure for data exchange with
another party for a while.  they were working ok.

would appreciate much if can suggest some cause for the -ve status code and
its possible remedy.
Thanks!





             ftpapi-request@li
             sts.scottklement.
             com                                                        To
             Sent by:                  ftpapi@xxxxxxxxxxxxxxxxxxxxxx
             ftpapi-bounces@li                                          cc
             sts.scottklement.
             com                                                   Subject
                                       Ftpapi Digest, Vol 9, Issue 3

             03/13/2007 01:00
             AM


             Please respond to
             ftpapi@xxxxxxxxxx
               tklement.com






Send Ftpapi mailing list submissions to
             ftpapi@xxxxxxxxxxxxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
             http://www.scottklement.com/mailman/listinfo/ftpapi
or, via email, send a message with subject or body 'help' to
             ftpapi-request@xxxxxxxxxxxxxxxxxxxxxx

You can reach the person managing the list at
             ftpapi-owner@xxxxxxxxxxxxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ftpapi digest..."


Today's Topics:

   1. FTP_GET (tina_chiew@xxxxxxxxxxxx)
   2. Re: FTP_GET (Michael Ryan)


----------------------------------------------------------------------

Message: 1
Date: Mon, 12 Mar 2007 19:54:39 +0800
From: tina_chiew@xxxxxxxxxxxx
Subject: FTP_GET
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Message-ID:

<OF4D29541C.7EBE901D-ON4825729C.004104B8-4825729C.004123BC@xxxxxxxxxxxx>

Content-Type: text/plain; charset=US-ASCII


Dear all, I am a freshie to this whole FTP and would appreciate if someone
could render help.
I am getting a result of -1 to the above operation.

what does it means?  and would you please suggest some possible solutions?
thanks alot, in advance.

-----------------------------------------------------------------------
Important : This message is intended for the recipient(s) addressed
above. It contains privileged and confidential information.  If you
are not the intended recipient, kindly notify the sender immediately
 by replying to this message and then delete it from your system.
You must not read,  copy,  use,  disseminate,  disclose,  retain or
reproduce all or any part of the information or any attachments
from this communication in any form. Thank you.

Disclaimer  : Email communications are not secure.  While we have
taken every  reasonable effort  to ensure that this  communication
has not been tampered with,  Canon is not responsible for any changes
made to the contents of or any attachments to this message without its
consent.  If you wish to receive a hard copy of this  message to verify
the accuracy of the contents thereof, please contact the sender. Note
that only views,  opinions or such other  information contained in this
message that relate to the official business of Canon is to be taken to
have been sent by  and on behalf of Canon.  All opinions,  conclusions
and other  information  expressed in  this message  not of an official
nature  shall  not be  deemed  as  given  or  endorsed  by  Canon unless
otherwise indicated by an authorized  representative  independent of
this message.



------------------------------

Message: 2
Date: Mon, 12 Mar 2007 11:29:44 -0500
From: "Michael Ryan" <michaelrtr@xxxxxxxxx>
Subject: Re: FTP_GET
To: "HTTPAPI and FTPAPI Projects" <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Message-ID:
             <b384299a0703120929w41b1dd16q652b676ba27680ba@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Have you checked the other return codes along the way? Like on the
FTP_Open and the FTP_Login (or FTP_Conn)? Anything in your job log?
Can you do the same commands through IBM's interactive FTP client?

On 3/12/07, tina_chiew@xxxxxxxxxxxx <tina_chiew@xxxxxxxxxxxx> wrote:
>
> Dear all, I am a freshie to this whole FTP and would appreciate if
someone
> could render help.
> I am getting a result of -1 to the above operation.
>
> what does it means?  and would you please suggest some possible
solutions?
> thanks alot, in advance.
>
> -----------------------------------------------------------------------
> Important : This message is intended for the recipient(s) addressed
> above. It contains privileged and confidential information.  If you
> are not the intended recipient, kindly notify the sender immediately
>  by replying to this message and then delete it from your system.
> You must not read,  copy,  use,  disseminate,  disclose,  retain or
> reproduce all or any part of the information or any attachments
> from this communication in any form. Thank you.
>
> Disclaimer  : Email communications are not secure.  While we have
> taken every  reasonable effort  to ensure that this  communication
> has not been tampered with,  Canon is not responsible for any changes
> made to the contents of or any attachments to this message without its
> consent.  If you wish to receive a hard copy of this  message to verify
> the accuracy of the contents thereof, please contact the sender. Note
> that only views,  opinions or such other  information contained in this
> message that relate to the official business of Canon is to be taken to
> have been sent by  and on behalf of Canon.  All opinions,  conclusions
> and other  information  expressed in  this message  not of an official
> nature  shall  not be  deemed  as  given  or  endorsed  by  Canon unless
> otherwise indicated by an authorized  representative  independent of
> this message.
>
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
>


------------------------------

-----------------------------------------------------------------------
This is the FTPAPI mailing list digest.  To unsubscribe, go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------


End of Ftpapi Digest, Vol 9, Issue 3
************************************



-----------------------------------------------------------------------
Important : This message is intended for the recipient(s) addressed
above. It contains privileged and confidential information.  If you
are not the intended recipient, kindly notify the sender immediately
 by replying to this message and then delete it from your system.
You must not read,  copy,  use,  disseminate,  disclose,  retain or
reproduce all or any part of the information or any attachments
from this communication in any form. Thank you.

Disclaimer  : Email communications are not secure.  While we have
taken every  reasonable effort  to ensure that this  communication
has not been tampered with,  Canon is not responsible for any changes
made to the contents of or any attachments to this message without its
consent.  If you wish to receive a hard copy of this  message to verify
the accuracy of the contents thereof, please contact the sender. Note
that only views,  opinions or such other  information contained in this
message that relate to the official business of Canon is to be taken to
have been sent by  and on behalf of Canon.  All opinions,  conclusions
and other  information  expressed in  this message  not of an official
nature  shall  not be  deemed  as  given  or  endorsed  by  Canon unless
otherwise indicated by an authorized  representative  independent of
this message.



------------------------------

Message: 3
Date: Tue, 13 Mar 2007 05:38:10 -0500
From: "Michael Ryan" <michaelrtr@xxxxxxxxx>
Subject: Re: Ftpapi Digest, Vol 9, Issue 3
To: "HTTPAPI and FTPAPI Projects" <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Message-ID:
             <b384299a0703130338l2acadcfbp1df564d64a39d0e3@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

As Scott mentioned, turn on logging with

c                   callp     ftp_logging(0: *On)

That should write information to the job log so you can debug the problem.

On 3/12/07, tina_chiew@xxxxxxxxxxxx <tina_chiew@xxxxxxxxxxxx> wrote:
> hi, all.
>
> Yes, the status code for the ftp_open is fine.
> actually we have been using this ftp procedure for data exchange with
> another party for a while.  they were working ok.
>
> would appreciate much if can suggest some cause for the -ve status code
and
> its possible remedy.
> Thanks!
>
>
>
>
>
>              ftpapi-request@li
>              sts.scottklement.
>              com
To
>              Sent by:                  ftpapi@xxxxxxxxxxxxxxxxxxxxxx
>              ftpapi-bounces@li
cc
>              sts.scottklement.
>              com
Subject
>                                        Ftpapi Digest, Vol 9, Issue 3
>
>              03/13/2007 01:00
>              AM
>
>
>              Please respond to
>              ftpapi@xxxxxxxxxx
>                tklement.com
>
>
>
>
>
>
> Send Ftpapi mailing list submissions to
>              ftpapi@xxxxxxxxxxxxxxxxxxxxxx
>
> To subscribe or unsubscribe via the World Wide Web, visit
>              http://www.scottklement.com/mailman/listinfo/ftpapi
> or, via email, send a message with subject or body 'help' to
>              ftpapi-request@xxxxxxxxxxxxxxxxxxxxxx
>
> You can reach the person managing the list at
>              ftpapi-owner@xxxxxxxxxxxxxxxxxxxxxx
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Ftpapi digest..."
>
>
> Today's Topics:
>
>    1. FTP_GET (tina_chiew@xxxxxxxxxxxx)
>    2. Re: FTP_GET (Michael Ryan)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 12 Mar 2007 19:54:39 +0800
> From: tina_chiew@xxxxxxxxxxxx
> Subject: FTP_GET
> To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
> Message-ID:
>
> <OF4D29541C.7EBE901D-ON4825729C.004104B8-4825729C.004123BC@xxxxxxxxxxxx>
>
> Content-Type: text/plain; charset=US-ASCII
>
>
> Dear all, I am a freshie to this whole FTP and would appreciate if
someone
> could render help.
> I am getting a result of -1 to the above operation.
>
> what does it means?  and would you please suggest some possible
solutions?
> thanks alot, in advance.
>
> -----------------------------------------------------------------------
> Important : This message is intended for the recipient(s) addressed
> above. It contains privileged and confidential information.  If you
> are not the intended recipient, kindly notify the sender immediately
>  by replying to this message and then delete it from your system.
> You must not read,  copy,  use,  disseminate,  disclose,  retain or
> reproduce all or any part of the information or any attachments
> from this communication in any form. Thank you.
>
> Disclaimer  : Email communications are not secure.  While we have
> taken every  reasonable effort  to ensure that this  communication
> has not been tampered with,  Canon is not responsible for any changes
> made to the contents of or any attachments to this message without its
> consent.  If you wish to receive a hard copy of this  message to verify
> the accuracy of the contents thereof, please contact the sender. Note
> that only views,  opinions or such other  information contained in this
> message that relate to the official business of Canon is to be taken to
> have been sent by  and on behalf of Canon.  All opinions,  conclusions
> and other  information  expressed in  this message  not of an official
> nature  shall  not be  deemed  as  given  or  endorsed  by  Canon unless
> otherwise indicated by an authorized  representative  independent of
> this message.
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 12 Mar 2007 11:29:44 -0500
> From: "Michael Ryan" <michaelrtr@xxxxxxxxx>
> Subject: Re: FTP_GET
> To: "HTTPAPI and FTPAPI Projects" <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
> Message-ID:
>
<b384299a0703120929w41b1dd16q652b676ba27680ba@xxxxxxxxxxxxxx>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Have you checked the other return codes along the way? Like on the
> FTP_Open and the FTP_Login (or FTP_Conn)? Anything in your job log?
> Can you do the same commands through IBM's interactive FTP client?
>
> On 3/12/07, tina_chiew@xxxxxxxxxxxx <tina_chiew@xxxxxxxxxxxx> wrote:
> >
> > Dear all, I am a freshie to this whole FTP and would appreciate if
> someone
> > could render help.
> > I am getting a result of -1 to the above operation.
> >
> > what does it means?  and would you please suggest some possible
> solutions?
> > thanks alot, in advance.
> >
> > -----------------------------------------------------------------------
> > Important : This message is intended for the recipient(s) addressed
> > above. It contains privileged and confidential information.  If you
> > are not the intended recipient, kindly notify the sender immediately
> >  by replying to this message and then delete it from your system.
> > You must not read,  copy,  use,  disseminate,  disclose,  retain or
> > reproduce all or any part of the information or any attachments
> > from this communication in any form. Thank you.
> >
> > Disclaimer  : Email communications are not secure.  While we have
> > taken every  reasonable effort  to ensure that this  communication
> > has not been tampered with,  Canon is not responsible for any changes
> > made to the contents of or any attachments to this message without its
> > consent.  If you wish to receive a hard copy of this  message to verify
> > the accuracy of the contents thereof, please contact the sender. Note
> > that only views,  opinions or such other  information contained in this
> > message that relate to the official business of Canon is to be taken to
> > have been sent by  and on behalf of Canon.  All opinions,  conclusions
> > and other  information  expressed in  this message  not of an official
> > nature  shall  not be  deemed  as  given  or  endorsed  by  Canon
unless
> > otherwise indicated by an authorized  representative  independent of
> > this message.
> >
> > -----------------------------------------------------------------------
> > This is the FTPAPI mailing list.  To unsubscribe, please go to:
> > http://www.scottklement.com/mailman/listinfo/ftpapi
> > -----------------------------------------------------------------------
> >
>
>
> ------------------------------
>
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list digest.  To unsubscribe, go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
>
>
> End of Ftpapi Digest, Vol 9, Issue 3
> ************************************
>
>
>
> -----------------------------------------------------------------------
> Important : This message is intended for the recipient(s) addressed
> above. It contains privileged and confidential information.  If you
> are not the intended recipient, kindly notify the sender immediately
>  by replying to this message and then delete it from your system.
> You must not read,  copy,  use,  disseminate,  disclose,  retain or
> reproduce all or any part of the information or any attachments
> from this communication in any form. Thank you.
>
> Disclaimer  : Email communications are not secure.  While we have
> taken every  reasonable effort  to ensure that this  communication
> has not been tampered with,  Canon is not responsible for any changes
> made to the contents of or any attachments to this message without its
> consent.  If you wish to receive a hard copy of this  message to verify
> the accuracy of the contents thereof, please contact the sender. Note
> that only views,  opinions or such other  information contained in this
> message that relate to the official business of Canon is to be taken to
> have been sent by  and on behalf of Canon.  All opinions,  conclusions
> and other  information  expressed in  this message  not of an official
> nature  shall  not be  deemed  as  given  or  endorsed  by  Canon unless
> otherwise indicated by an authorized  representative  independent of
> this message.
>
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
>


------------------------------

-----------------------------------------------------------------------
This is the FTPAPI mailing list digest.  To unsubscribe, go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------


End of Ftpapi Digest, Vol 9, Issue 4
************************************




-----------------------------------------------------------------------
Important : This message is intended for the recipient(s) addressed
above. It contains privileged and confidential information.  If you
are not the intended recipient, kindly notify the sender immediately
 by replying to this message and then delete it from your system.
You must not read,  copy,  use,  disseminate,  disclose,  retain or
reproduce all or any part of the information or any attachments
from this communication in any form. Thank you.

Disclaimer  : Email communications are not secure.  While we have
taken every  reasonable effort  to ensure that this  communication
has not been tampered with,  Canon is not responsible for any changes
made to the contents of or any attachments to this message without its
consent.  If you wish to receive a hard copy of this  message to verify
the accuracy of the contents thereof, please contact the sender. Note
that only views,  opinions or such other  information contained in this
message that relate to the official business of Canon is to be taken to
have been sent by  and on behalf of Canon.  All opinions,  conclusions
and other  information  expressed in  this message  not of an official
nature  shall  not be  deemed  as  given  or  endorsed  by  Canon unless
otherwise indicated by an authorized  representative  independent of
this message.

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------