synapse sync file does not work if file is a URL
Description
Filing because I can't find the bug. We are advertising the sync command as a way to link numerous files on Synapse (instead of uploading them) but currently this is not supported. This will block many of our users from being able to upload.
Environment
Activity
Thank you! It works now. I will close this issue.
Did you checkout the validation branch? The version number on the develop branch was incremented to 1.7.3 since July so you may need to update
The error message "NotImplementedError: Automatic storing of external files is not supported. Please try downloading the file locally first before storing it or set synapseStore=False" comes from _uploadToFileHandleService(), which we have deprecated in favor of other functions.
Attached are the file I used for testing and the error screenshot in my terminal.
I used a URL of a FTP site
I just tired this as the manifest file and it worked:
Did you do the fulll "https://www....." or did you just use "www..."? The latter does not get recognized as a url (which should be fixed in a separate issue)