Hi,

I am luking for a way to make persistent connection to a ftp server and put multiple files to it, where second file will be put depending on the response of first file.

Any help would be greatful.

IMO is better to just make a connection to the server for each file and act according to the response.
Each connection can be done inside a background worker, in order to alleviate the GUI to be frozen while the transfer occurs.
Hope this helps.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.