Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


Re: Can't rename .filepart

Your code never uses the transferOptions variable.
It should be:
session.PutFiles(filepath, "/To/*", False, transferOptions).Check()

Can't rename .filepart

I have gone ahead and set resume support to off in my code but it is still creating a file with the .filepart extension.
Using session As New Session
    ' Connect
    ' Set up transfer options
    Dim transferOptions As New TransferOptions
    With transferOptions
        .ResumeSupport = New TransferResumeSupport With {.State = TransferResumeSupportState.Off}
    End With
    ' Transfer files
    session.PutFiles(filepath, "/To/*").Check()
End Using


  Message=Transfer was successfully finished, but temporary transfer file 'p-20220929-239-0-0-0.txttest.pgp.filepart' could not be renamed to target file name 'p-20220929-239-0-0-0.txttest.pgp'. If the problem persists, you may try to turn off transfer resume support.