Your SFTP server address and account credentials, which let your logic app access your SFTP account. You also need access to an SSH private key and the SSH private key password. To use chunking when uploading large files, you need both read and write permissions for the root folder on your SFTP server. Otherwise, you get a "401 Unauthorized" error.
401
is usually an error caused by no authentication, but why some files can be created successfully and some failed, I am very confused. Maybe you need to seek help from Microsoft official technical support.
If the Create file
action fails, you can use until to retry:
Expression in Until action
:
actions('<Create_file-action-name>').status
But those 0-byte files may need to be traversed from the sftp server to judge, which will be very complicated.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…