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

Re: PROBLEM USING TESTMGET



   Does pippo.txt have data?

   On Wed, Jul 28, 2010 at 1:00 PM, <[1]P.Leone@xxxxxxxx> wrote:

     hi,
     fileno value PIPPO.TXT ( my file name)
     saluti
       _________________________________________________________________
     Prof. Pasquale Leone
     Comed S.r.l.
     Centro Direzionale Isola G7 - 80143 Napoli
     Tel: 081-7877263 Cell.: 348-3703055

     [1][2]p.leone@xxxxxxxx
     [2][3]www.comed.it
       _________________________________________________________________
     Michael Ryan <[4]michaelrtr@xxxxxxxxx>
     Sent by: [5]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
     28/07/2010 18:51
     Please respond to HTTPAPI and FTPAPI Projects
             To:        HTTPAPI and FTPAPI Projects
     <[6]ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
             cc:
             Subject:        Re: PROBLEM USING TESTMGET
     Buon giorno Professorre Leone -
     What's the value of fileno when you look at it in debug?
     porgiamo distinti saluti...
     - Michael
     (I'll be in Napoli in September...woo hoo...vacation!)
     On Wed, Jul 28, 2010 at 12:10 PM, <[7]P.Leone@xxxxxxxx> wrote:
     >
     >   hi,
     >   I have a problem using the program TESTMGET modified to write in
   a
     >   library as400.
     >   the problem that occurs is that the file is created, but with
     empty
     >   content.
     >   clearly I used the syntax namefmt = 1  in function FTP_GET
     >   * download the rest of the files
     >
     >                     if        ftp_get(fd: incoming(fileno):
     >                                    '/QSYS.LIB/LIBFTPRCV.LIB/' +
     >                               %TRIM(incoming(fileno))+ '.FILE')>=0
     >                     eval      gotfiles = gotfiles + 1
     >                     endif
     >
     >                     enddo
     >   any suggestions?
     >   thanks
     >   PS  my OS400 is V5R2M0
     >
     _________________________________________________________________
     >
     >   Prof. Pasquale Leone
     >   Comed S.r.l.
     >   Centro Direzionale Isola G7 - 80143 Napoli
     >   Tel: 081-7877263 Cell.: 348-3703055
     >   [1][8]p.leone@xxxxxxxx
     >   [2][9]www.comed.it
     >
     _________________________________________________________________
     >
     > References
     >
     >   1. mailto:[10]p.leone@xxxxxxxx
     >   2. [11]http://www.comed.it/
     >
     >

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

   ----------------------------------------------------------------------
     -
     >
     >

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

   ----------------------------------------------------------------------
     -
   References
     1. mailto:[14]p.leone@xxxxxxxx
     2. [15]http://www.comed.it/

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

References

   1. mailto:P.Leone@xxxxxxxx
   2. mailto:p.leone@xxxxxxxx
   3. http://www.comed.it/
   4. mailto:michaelrtr@xxxxxxxxx
   5. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   6. mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx
   7. mailto:P.Leone@xxxxxxxx
   8. mailto:p.leone@xxxxxxxx
   9. http://www.comed.it/
  10. mailto:p.leone@xxxxxxxx
  11. http://www.comed.it/
  12. http://www.scottklement.com/mailman/listinfo/ftpapi
  13. http://www.scottklement.com/mailman/listinfo/ftpapi
  14. mailto:p.leone@xxxxxxxx
  15. http://www.comed.it/
  16. http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------