Skip to content

Question about Resources & the file transfer example #313

Discussion options

You must be logged in to vote

Q1: the default value for advertise is True, so does the transfer start upon immediately after the Resource is created?

By default, a Resource is advertised over the link as soon as it is created. This behaviour can be disabled if you want to do something else first, and then manually advertise it.

Once the Resource has been advertised, it is up to the receiver whether or not to accept it. This follows a general principle in Reticulum. It is always up to the receiving party to ask for more information, and stuff will not be sent to a receiver, unless it has asked for it.

Q2: Can anyone explain this line of code in the example: file_resource.filename = filename?

The filename property t…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ThomasFreedman
Comment options

@markqvist
Comment options

Answer selected by markqvist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants