Hi Mona,
Provided your code creates the directory before submitting the transfer, that’s fine. I would lean towards using the Transfer API so my code doesn’t get hung up on any file system issue and it can check the status of the operation, but that’s a preference, not a requirement.
Depending on how you’re structuring the permissions on the destination endpoint, you may still need to grant the gateway user write access to the new directory before submitting the transfer.
—Rick
> On May 29, 2020, at 11:54 AM, Wong-Barnum, Mona <
mo...@sdsc.edu> wrote:
>
>
> Hi:
>
> Is the mkdir file operation (
https://urldefense.com/v3/__https://docs.globus.org/api/transfer/file_operations/*make_directory__;Iw!!Mih3wA!V0zQCX3tL-DPm9Uh5Amha1RZzgPRiHzO0Lc4_Eg0YHhtP8TbhsXCxV0gd9PWL3Zk$ ) necessary if my code has direct access to that endpoint’s filesystem? The transfer should still work if my code makes the necessary directly right instead of using the Globus mkdir?
>
> Mona
>
> *********************************************
> Mona Wong
> Web & Mobile Application Developer
> San Diego Supercomputer Center
>
> "The two most important days in
> your life are the day you are born
> and the day you find out why."
> -- Mark Twain
> *********************************************
>
> --
> To unsubscribe from this group and stop receiving emails from it, send an email to
developer-disc...@globus.org.
>