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

RE: FTPAPI Logon User Length !!



I know, but at scotts programs are opensource, we can adjust them locally no?
I think poul should try this en test the whole FTPAPI with the changes, as they are simple enough to reverse.

De Saedeleer Wouter
IS CB Production Serv Application Mgt - Developer
Tel: + 32 2 565 80 98
Mobile: +32 499 67 37 04
Email: wouter.desaedeleer@xxxxxxxxxx



-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Sean Porterfield
Sent: Friday, May 04, 2007 2:23 PM
To: HTTPAPI and FTPAPI Projects
Subject: Re: FTPAPI Logon User Length !!

>> -----Original Message-----
>> Aschenbrenner, Poul

>> I have problem with lengt of User becouse I am Using FTPAPI thrue a
>> Firewall. 
>>  
>> User has followning format. USER ftpADRESSFORLOC@xxxxxxxxxxxxxxxxxxx
>>  
>> The problem is that peUSER only have length of 32. 


wouter.desaedeleer@xxxxxxxxxx wrote:
> Can't you just make the variable bigger, that contains the user?


That variable is part of FTPAPI, not just a variable in Poul's program.
 A quick glance at the source (version 2.2) shows me:

D   peUser                      32A   const

D  peUserName                   32A

c                   eval      peUserName = wwTemp

D wwTemp          S             65A

I think changing the size of peUser would require changing peUserName
also.  And if your username goes over 65 characters, changing wwTemp as
well.  I don't know if those changes would affect anything else; Scott
would know better.

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


= = = = = = = = = = = = = = = = = = = = = = = = =
Fortis disclaimer :
http://www.fortis.be/legal/disclaimer.htm

Privacy policy related to banking activities of Fortis:
http://www.fortisbank.be/legal/privacy_policy.htm
= = = = = = = = = = = = = = = = = = = = = = = = =



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