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

RE: TESTPUT



Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>


Even though you mentioned trimming, I know that I've needed to do a trim
on the variable when I use it for a path or a name. That 256 byte name
with 10 characters and 246 blanks, especially enclosed in quotes, would
be seen as a 'real' file or path name.

FTP_put() doesn't care if you %trim() the field. Indeed, calling %trim() is just a waste of CPU cycles, since the parameter is 256A CONST the system will just add the blanks back on before it calls FTP_put().


Don't worry, FTPAPI will make sure that trailing blanks are trimmed and handled properly. Like I said before, it's designed for RPG programmers not C programmers. It understands the "RPG way" of doing things.


----------------------------------------------------------------------- This is the FTPAPI mailing list. To unsubsribe from the list send mail to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr -----------------------------------------------------------------------