Re: FTP Routines - help, please
- Posted by jimcbrown (admin) Oct 24, 2009
- 1055 views
I don't suppose these ftp routines can exist apart from wxEuphoria, can they?
I tried to run my code with both wxeud.e and win32lib.ew included and come up with a selection of namespace problems. Trouble is, they are often knee-deep in nested includes in win32lib and trying to add namespace qualifiers to everything is going to take forever minus epsilon.
Any more ideas? I am getting ulcers doing this...
Andy
As wxeud.e is all in one file (which is generated by wrap.exu IIUc), it seems easier to just rename everything in that file.
On Linux, the following commands would be:
sed -i "s/function /function wxeud_/g" wxeud.e sed -i "s/procedure /procedure wxeud_/g" wxeud.e
and there are Windows versions of sed on the net.
(fixing global variables or global constants would be more troublesome, though).
Alternatively, simply copy out the parts of wxeud.e that define the ftp routines into a wxftp.e and include that?