Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - staephenn

Pages: [1]
1
Network / FTP download file and upload file creates memory errors
« on: March 27, 2022, 11:08:01 am »
I've got a succesful connection with an FTP server (the server is fully working with filezilla)

i am downloading like this

    sf::Ftp ftpc;
    ftpc.connect("host");
    ftpc.login("user", "pass");

    ftpc.download("banned.txt", "/");

i just want to download to the current directory i am in the file banned.txt on the server that exists
and has content in it.

When i run the program, i receive this error:
The Instruction at 0x000000006FCE08D4 referenced memory at 0x000000000000000. The memory could not be written.

Click Ok to terminate the program

Any help? once again my FTP server is fully working, and my account has all the permissions including deleting, downloading files etc :(

Got to mention that the download function doesnt return any status, it doesnt display it when i use getStatus().


Pages: [1]