3. Later the newline sanitized FTP file is moved to datasets directory
These move operations in Python are carried as copy and delete tasks. I don't see the same approach being taken with data libraries or other file-system import/upload options. I looked at library_common code, but I couldn't follow it [2]. I was wondering
if someone could help in understanding how file upload is implemented for different upload mechanisms and datatypes.
Also, can FTP upload option reduce the number of move operations? For example, can the original FTP file or temporary file copied/moved directly to the datasets directory? This will be helpful in supporting FTP-type upload where 'galaxy' user isn't the
primary owner of user's files (move operations perform chmod and it requires primary ownership).
--
Thanks,
Shantanu