Author Topic: [Question] How to download and save an external file (Macro)  (Read 3526 times)

Online danny

  • Occasional poster
  • *
  • Posts: 49
    • View Profile
    • Startfetch
That loads 5596 bytes of the iso into ram.  Needs the {.save

However, from rejetto's posts, I found an example of saving big files 
Except that the chunk size maximum is bigger than the buffer, which may fill and exit.
      | {:{.append|{.^#out.}|var=#x.}
      | {:{.set|#chunk|0.}:}.}

I guess you could try the chunk size at 4096 if that is bytes or 32768 if bits?  Hard drives write 4k chunks.  Even 5k might work; but, larger would probably exit the script before it could append more.
Might want to replace "test" with the destination?  Folder or filename?
Seems that "Remote Upload" is in alpha status. 

Maybe Openmediavault has Remote Upload for your Raspberry Pi? 

« Last Edit: May 20, 2018, 01:11:01 PM by Mars »

Follow members gave a thank to your post: