OSCAT Forum

network.lib => Modulentwicklung => Thema gestartet von: Abhijeeth am 08. August 2012, 10:15:16

Titel: Problem with FTP_CLIENT
Beitrag von: Abhijeeth am 08. August 2012, 10:15:16
Hello,

I'm working on FTP using PLC. I've used FTP_CLIENT(FB) from the open source OSCAT library "codesys_network_121_hf1.lib".
However, as this FB has dependencies on other FBs and structures, I replicated only those FBs and structures  which are used in FTP_CLIENT directly or indirectly.
There are no compilation errors. But when I run the code, I'm getting the following error in an instatnce of IP_CONTROL. (screenshot attached; error highlighted).

Please help in debugging the error. I will be happy to provide you more details on how the library is used in my program.

[gelöscht durch Administrator]
Titel: Re: Problem with FTP_CLIENT
Beitrag von: peewit am 08. August 2012, 11:13:06
ERROR_T = 2                                     -> FTP control-channel
ERROR_C = 65280    -> 0x0000FF00 -> data receive timeout


test the ftp_client with the demo program (open the oscat_network.lib as projekt -> /DEMO/FTP_CLIENT_DEMO)