Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: SidInNJ

Search: Search took 0.00 seconds.

  1. Hi Shawn, I should have done this before, but...

    Hi Shawn,

    I should have done this before, but I just did a quick compare between the printouts between running FTP from a Win10 command line (works!) and FileZilla (fails at about 3 or 4 file...
  2. Hmm, yes. That does make for a better general...

    Hmm, yes. That does make for a better general case!
  3. That sounds like a great solution. And maybe...

    That sounds like a great solution.
    And maybe also: if a new PASV request arrives, check for an existing one and close if so, then handle the new request.

    Meanwhile, I'm still working on the...
  4. Making some progress!! Even though it appears...

    Making some progress!! Even though it appears that "response: 226 Closing data connection." should be taking care of everything, there must be something unique to FileZilla.
    I tried running FTP from...
  5. Thanks for the suggestions! I increased...

    Thanks for the suggestions!

    I increased MEMP_NUM_TCP_PCB_LISTEN from 8 to 16. It took about twice as many transfers before failing (3 or 4 when set to 8, 7 or 8 when set to 16). This was without...
  6. Hi Shawn, Thanks for the nice example. I tried...

    Hi Shawn,

    Thanks for the nice example. I tried it, but sadly had the same results.
    With some debug prints:

    response: 200 Command okay.
    query: PASV
    #### tcp_listen(fsm->datapcb) returned...
  7. Sorry, no. It was with TFTP that the transfers...

    Sorry, no. It was with TFTP that the transfers worked. With FTP I still get the "Out of memory error" after 3+ file transfers.
    And thanks for looking!
  8. Hi Shawn, Thanks for your quick reply!! ...

    Hi Shawn,

    Thanks for your quick reply!!

    Oops. I think the Ping problem was cockpit error. I loaded up TFTP, did 40 file transfers in a row, did Ping (after fixing the ping address !!!),...
  9. Thanks for the suggestion. I just tried it, but...

    Thanks for the suggestion. I just tried it, but FTP also fails after about three file transfers. I'm guessing that the problem is in the FTP implementation, not in the underlying Ethernet code.
    One...
  10. PS. I doubled the number of MEMP_TCP_PCB_LISTEN...

    PS. I doubled the number of MEMP_TCP_PCB_LISTEN memory blocks with no apparent change.
    I also fixed a compile time warning in lwip_ftpd-sd.cpp: "warning: taking address of temporary", also to no...
  11. Hi Julian, I think I may be having a similar...

    Hi Julian,

    I think I may be having a similar problem. I can quickly duplicate what I'm seeing by using FileZilla to transfer a file from a PC to an SD card on the Teensy 4.1. FTP consistently...
Results 1 to 11 of 11