Android Question B4A V5 FTP issue? HELP kind people!

thughesimsuk

Member
Licensed User
Longtime User
This is a strange one, I have the latest Net Library (v1.53) and I have declared FTP in the Process_Globals,

B4X:
Dim FTP as FTP

but when I type
B4X:
FTP.
I usually get a drop-down with all the members, but for some reason B4A is not recognising the members.. I get the following,

image.png


This has only now become an issue since I have update B4A to V5, If I delcare FTP2 as in the following it works..

image.png


I get the following errors now because of this issue when I compile,

B4A version: 5.02 (1)
Parsing code. (0.96s)
Compiling code. Error
Error compiling program.
Error description: Unknown member: downloadfile
Occurred on line: 2840
FTP.DownloadFile("/Support/"&UserGuideName,False,File.DirRootExternal,UserGuideName)
Word: downloadfile

This is really causing me an issue because I don't want to have to go through all my modules updating my code for something that has always worked. Stranger yet is I have another project and ftp is working fine and its declared "Dim FTP as FTP".

I thought I would reach out to the community for help, its probably something dumb that I am doing but can anyone shed light on this.

Tom
 

sorex

Expert
Licensed User
Longtime User
I guess Erel has to answer that one as it might be a change in the (pre)compiler
 
Upvote 0
Top