Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. N8N
  3. Another noob n8n question - copy/move files from Gdrive to s3.

Another noob n8n question - copy/move files from Gdrive to s3.

Scheduled Pinned Locked Moved N8N
6 Posts 2 Posters 1.3k Views 2 Watching
  • 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.
  • S Offline
    S Offline
    stevespaw
    wrote on last edited by stevespaw
    #1

    OK I have finally been about to copy a file from GDrive to s3 (Still can't get it to NextCloud).
    The method that works is download and then copy to s3. This will be double bandwidth it seems but it works.
    The question with this method is: Do the downloaded files stay on the Cloudron Docker? If so, how to delete them?

    Is there a better way?

    Thanks!!142bfd91-367d-4235-981d-6b658d056519-image.png

    girishG 1 Reply Last reply
    0
    • S stevespaw

      OK I have finally been about to copy a file from GDrive to s3 (Still can't get it to NextCloud).
      The method that works is download and then copy to s3. This will be double bandwidth it seems but it works.
      The question with this method is: Do the downloaded files stay on the Cloudron Docker? If so, how to delete them?

      Is there a better way?

      Thanks!!142bfd91-367d-4235-981d-6b658d056519-image.png

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @stevespaw said in Another noob n8n question - copy/move files from Gdrive to s3.:

      OK I have finally been about to copy a file from GDrive to s3 (Still can't get it to NextCloud).

      When trying to get files into NextCloud, look into the WebDAV API maybe or REST API to upload files into nextcloud. Don't think of filesystem transfer. This will make your scripts quite portable as well.

      @stevespaw said in Another noob n8n question - copy/move files from Gdrive to s3.:

      The method that works is download and then copy to s3.

      I don't think there is any other way without a local download.

      @stevespaw said in Another noob n8n question - copy/move files from Gdrive to s3.:

      Do the downloaded files stay on the Cloudron Docker? If so, how to delete them?

      This, I don't know. Where are the files being dowloaded to by Download from GDrive? Most likely they are not removed.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        stevespaw
        wrote on last edited by
        #3

        It seems from my research so far that binary files are stored in memory by default. That explains crashes I had until I raised the memory for the app. but I have been using small files for testing. It seems that you can change it to filesystem with ENV variables. https://community.n8n.io/t/strange-issue-preventing-binary-data-mode-set-to-filesystem-which-leads-to-memeory-issues/41686/4. I wonder what will happen when I try to copy 500gb files??

        1 Reply Last reply
        0
        • S Offline
          S Offline
          stevespaw
          wrote on last edited by
          #4

          N8N_DEFAULT_BINARY_DATA_MODE=filesystem

          1 Reply Last reply
          1
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #5

            @stevespaw you can add that in Cloudron via https://docs.cloudron.io/apps/n8n/#custom-env . Remeber to add export in the front. So,

            export N8N_DEFAULT_BINARY_DATA_MODE=filesystem
            
            S 1 Reply Last reply
            0
            • girishG girish

              @stevespaw you can add that in Cloudron via https://docs.cloudron.io/apps/n8n/#custom-env . Remeber to add export in the front. So,

              export N8N_DEFAULT_BINARY_DATA_MODE=filesystem
              
              S Offline
              S Offline
              stevespaw
              wrote on last edited by
              #6

              @girish Yes I did this (did not update the post with export) and it seems to work fine, I will watch the new "binary files" Folder. Here is from Discord:
              7144247c-6362-4924-9028-c531b7509a98-capture_240301_110102.jpg

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search