So bascially I have a jupyter notebook which acts as a server, I have a file upload component from which the user is going to upload their files, I want this file to get downloaded on the server side
I notice that i can get only the url,length,bytes from the file to the server, however i want the entire file itself
Code Sample:
Server code
import anvil.media
@anvil.server.callable
def download_file(file):
#i want to download the file here ( the file is an mp4 audio file )
Anvil code
def file_loader_1_change(self, file, **event_args):
anvil.server.call('download_file',file)
Clone link:
MeetingOWL