[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ftp server name too long
Hello Stefano,
On 2/22/2011 6:11 AM, Stefano Bonanni wrote:
> 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')
Which part of this is too long?! The host name can be up to 256
characters long. Your e-mail shows only 27 characters.
Maybe you're hitting RPG's maximum line length? (Especially if you're
doing this in fixed format -- but your code doesn't look like fixed
format.)
If so, just split it across two lines.
eval sess = ftp_conn('xxx.yyyyyyyy.wwwwwww+
.zzz.it':
'myname':
'mypassword')
Again.. nothing to do with FTPAPI. You can do this with any character
string in any RPG expression. (If that's even the problem?)
> Supera i limiti: raddoppia la velocit� da 10 a 20 Mega!
> Risparmia con Tutto Incluso: telefono + adsl 20 mega a soli 29,95 �
> al mese per due anni!
> SCONTO DI 240 EURO!
> [1]http://abbonati.tiscali.it/telefono-adsl/prodotti/tc/tuttoincluso/?
> WT.mc_id=01fw
Or... maybe your message was only intended to trick me so you can post
spam?! Please remove advertisements from any further messages.
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------