Skip to content

Create API for parameter startpos in Upload method #456

Closed as not planned
Closed as not planned

Description

@TomatorCZ

You have API for this in OpenPassiveDataStream() method.
Functionality [https://www.php.net/manual/en/function.ftp-fput.php]

Could you move it into high-level Uploading ?

Thanks:)

Activity

  1. robinrodricks commented on Sep 26, 2019

    @robinrodricks
    Owner

    I think UploadFile has an ability to append.. see the FAQ on appending...

  2. TomatorCZ commented on Sep 28, 2019

    @TomatorCZ
    Author

    Yes, but it can only append to end of the file. I meant the optional position in the remote file to start uploading to.

  3. robinrodricks commented on Oct 4, 2019

    @robinrodricks
    Owner

    It would totally complicate high level APIs, what do you need this for if not for appending? what is your use case?

  4. TomatorCZ commented on Oct 21, 2019

    @TomatorCZ
    Author

    We make compiler Php to .Net and we try to map each function in Php to C#. I think that the main usage of this is append part of file, because original is too big, so you cut it to smaller pieces. But as you mentioned, it can be used append function instead of this. If it is too complicated, i understand it.
    Thank you

  5. robinrodricks commented on Sep 19, 2022

    @robinrodricks
    Owner

    Added to the bucket list. We will pick this up as and when we have free time. Comment on this issue if you want us to prioritize it. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ 换网址