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

Re: ftp server name too long



I just plugged your code into a fixed-format RPGLE program.

Your parameter delimiting colon (:) appears in  column 81, which is
beyond the RPG spec limit.

You could move the colon to the next line, switch to free format, or any
of a number of other techniques to reduce the length of that line (or
the effect that the length has on the compiler).

For future reference, it's always good to post the error ID (RNF0312 in
this case).  Those IDs transcend language differences.

As Scott has already pointed out, this is an RPG topic rather than
FTPAPI-specific.
-- 
Why is the alphabet in that order? Is it because of that song? 

-----Original Message-----
From: Stefano Bonanni <stefano.bonanni@xxxxxxxxxx>
Reply-to: HTTPAPI and FTPAPI Projects <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: ftp server name too long
Date: Tue, 22 Feb 2011 13:11:41 +0100 (CET)

Dear all,
   I just started using ftpapi.
   I'm encounterig a problem with my ftp server name trying to put it
   into TESTPUT pgm, because it seems too long.
   Changing the eval like this
   eval      sess = ftp_conn('xxx.yyyyyyyy.wwwwwww.zzz.it':
                        'myname':
                        'mypassword')
   the 2th line goes in error (missing bracket)
   Thanks in advance for your efforts.


-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
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
-----------------------------------------------------------------------