- Jun 6, 2020
- 11,517
- 4,383
We have been uploading files successfully with FTP for a good while. Recently, we've been running into problems occasionally. I updated the code to display the exact error to users and we've seen this error several times: "500 Illegal Port Command" (see error image attached to this post).
Below are the two code snippets that connect and download. I think they're in order.
Here's my question: Is the error likely the result of a bad WiFi/Internet connection? Or could it be that the FTP functions are issuing a command that is not accepted by the server?
Since the process succeeds most of the time, I'm guessing it's a connection problem despite the fact that we've confirmed WiFi and connected to the server. Could it be something else?
I'd appreciate any knowledge you may have.
- Don
Connect:
B4X:
Below are the two code snippets that connect and download. I think they're in order.
Here's my question: Is the error likely the result of a bad WiFi/Internet connection? Or could it be that the FTP functions are issuing a command that is not accepted by the server?
Since the process succeeds most of the time, I'm guessing it's a connection problem despite the fact that we've confirmed WiFi and connected to the server. Could it be something else?
I'd appreciate any knowledge you may have.
- Don
Connect:
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید