Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Failed to upload 22k file over FTP

    Scheduled Pinned Locked Moved LoPy
    ftpupload failure
    4 Posts 2 Posters 604 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      Thosch42
      last edited by

      Hi all!
      I'm not able to upload my main.py via FTP anymore, while the Lopy is in STA mode. The connection hangs after 16k upload. I tried it with FileZilla and WinSCP. Every time the same. After a hard reset, the device goes into Ap mode, because the main.py is corrupted. Then I can upload the file without problems.
      Is there a kind of watchdog inside the FTP server?

      Cheers,
      Thomas

      robert-hhR 1 Reply Last reply Reply Quote 0
      • robert-hhR Offline
        robert-hh @Thosch42
        last edited by

        @thosch42 I have never noticed any limitation of the ftp server in file size. Maybe the file system is full? What does uos.getfree("/flash") tell?

        T 1 Reply Last reply Reply Quote 1
        • T Offline
          Thosch42 @robert-hh
          last edited by

          @robert-hh Hi!
          Sorry, was out of office for a few days...

          uos.getfree("/flash") tells me 3986.

          Cheers,
          Thomas

          1 Reply Last reply Reply Quote 0
          • T Offline
            Thosch42
            last edited by

            I found, that the problem only exist, while the Lopy is in time.sleep().

            Can someone confirm this?

            Cheers,
            Thomas

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              Last post

            Pycom on Twitter

            Pycom