Tied using this one (ftp.download( "test.txt", "", Ftp::Ascii); ), but my app crashes with windows sending data error. Other functions work properly: I connected to server, changed directory, it even shows me a directory list, and there is a test.txt in it. MinGW isn't showing any errors and compiles the app as always. Changing transfer mode didn't help.
This surprisingly does nothing. The same error.
Ftp::Response x = ftp.download("test.txt", "");
cout << "FTP Download: " << x.getStatus() << " : " << x.getMessage() << "\n";
Using windows 10 and MinGW. Compiling with this:
g++ main.cpp -o main.exe -ID:\\SFML-2.5.1\\include -LD:\\SFML-2.5.1\\lib -lsfml-graphics -lsfml-window -lsfml-system -lsfml-network