Closed blaasvaer closed 5 months ago
You have to specify the destination filename at some point, either as part of the call or as part of the creation of the write stream, no avoiding it. As you have to specify the remote file name, I don't see it is much extra work to also attach that name to the destination path. Certainly not what I would consider 'hoops and loops'.
I can't seem to figure out from the docs HOW to simply 'get' a file and store it locally with the same name as the file itself (just in another local path)?
From the Docs:
Seem like I have to go through hoops and loops to simple copy a file from the remote server to the local machine.
I'm looking for something along these lines: