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

Author Topic: FTP cant download or upload  (Read 4201 times)

0 Members and 1 Guest are viewing this topic.

kaB00M

  • Full Member
  • ***
  • Posts: 101
    • View Profile
    • Caffeware
    • Email
FTP cant download or upload
« on: June 22, 2020, 07:20:16 pm »
Hello.

I'm using SFML Ftp.
Host is ftpupload.net
I can connect successfully.
I also CAN create folders and delete files or folders.
But I cant download or upload files.
I get a 1001 error respond message after trying to download or upload.
Any ideas?

Thank you.

« Last Edit: June 22, 2020, 07:26:25 pm by kaB00M »



eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10815
    • View Profile
    • development blog
    • Email
Re: FTP cant download or upload
« Reply #1 on: June 24, 2020, 09:00:11 am »
1001 is an internal error code "Connection Failed" and if I check the implementation it seems to happen when it fails to make a connection.
Do you have the correct rights to upload/download stuff?

If you have SFML with debug symbols you could set a break point at the socket response and check what error the socket is returning.
Additionally, you could check the actual traffic on the wire with Wireshark or similar.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

kaB00M

  • Full Member
  • ***
  • Posts: 101
    • View Profile
    • Caffeware
    • Email
Re: FTP cant download or upload
« Reply #2 on: June 26, 2020, 08:46:08 pm »
Thanks for the reply eXpl0it3r.

Figure it out: Apparently, my connection was too slow and unreliable. I was tethering from a mobile phone at the time of the test.

It works great on a 'normal' connection. 
« Last Edit: June 27, 2020, 12:28:20 am by kaB00M »