{"title":"Codeunit 9763 SFTP Client Implementation, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/9763-sftp-client-implementation/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":9763,"name":"SFTP Client Implementation","app":"System Application","url":"https://jonas-paprotka.de/ref/codeunit/9763-sftp-client-implementation/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/9763-sftp-client-implementation/source/","path":"src/System Application/App/SFTP Client/src/SFTPClientImplementation.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:9764":{"name":"SFTP Operation Response","url":"https://jonas-paprotka.de/ref/codeunit/9764-sftp-operation-response/"},"table:9760":{"name":"SFTP Folder Content","url":"https://jonas-paprotka.de/ref/table/9760-sftp-folder-content/"},"codeunit:4100":{"name":"Temp Blob","url":"https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/"}},"procs":[{"name":"Initialize","line":18,"kind":"procedure","params":4,"steps":[[20,"call","InitializeSFTPInterface",0],[23,"call","ParseException",0]]},{"name":"Initialize","line":27,"kind":"procedure","params":4,"steps":[[29,"call","InitializeSFTPInterface",0],[32,"call","ParseException",0]]},{"name":"Initialize","line":36,"kind":"procedure","params":5,"steps":[[38,"call","InitializeSFTPInterface",0],[41,"call","ParseException",0]]},{"name":"ParseException","line":58,"kind":"procedure","access":"local","params":0,"steps":[[71,"ext","codeunit",9764,"SetExceptionType",1],[74,"ext","codeunit",9764,"SetError",1],[76,"ext","codeunit",9764,"SetError",1],[78,"ext","codeunit",9764,"SetError",1],[80,"ext","codeunit",9764,"SetError",1],[82,"ext","codeunit",9764,"SetError",1],[84,"ext","codeunit",9764,"SetError",1],[86,"ext","codeunit",9764,"SetError",1]]},{"name":"ListFiles","line":98,"kind":"procedure","params":2,"steps":[[101,"call","ParseException",0]]},{"name":"ListFiles","line":104,"kind":"procedure","params":2,"steps":[[111,"call","ParseException",0],[112,"write",9760,"DeleteAll"],[122,"write",9760,"Insert"]]},{"name":"GetFileAsStream","line":128,"kind":"procedure","params":2,"steps":[[136,"call","ParseException",0],[138,"call","LogFileSizeTelemetry",3],[138,"call","GetMaxFileSizeInBytes",0],[139,"call","GetMaxFileSizeInBytes",0],[140,"call","FileTooLargeResponse",1],[142,"ext","codeunit",4100,"CreateOutStream",0],[143,"ext","codeunit",9764,"SetTempBlob",1],[144,"ext","codeunit",9764,"GetResponseStream",1]]},{"name":"PutFileStream","line":148,"kind":"procedure","params":2,"steps":[[156,"call","LogFileSizeTelemetry",3],[156,"call","GetMaxFileSizeInBytes",0],[157,"call","GetMaxFileSizeInBytes",0],[158,"call","FileTooLargeResponse",1],[160,"call","ParseException",0]]},{"name":"FileTooLargeResponse","line":177,"kind":"procedure","access":"local","params":1,"steps":[[179,"ext","codeunit",9764,"SetExceptionType",1],[180,"ext","codeunit",9764,"SetError",1],[180,"call","GetMaxFileSizeInBytes",0]]},{"name":"LogFileSizeTelemetry","line":184,"kind":"procedure","access":"local","params":3,"steps":[[192,"call","GetMaxFileSizeInBytes",0]]},{"name":"DeleteFile","line":201,"kind":"procedure","params":1,"steps":[[204,"call","ParseException",0]]},{"name":"FileExists","line":207,"kind":"procedure","params":2,"steps":[[210,"call","ParseException",0]]},{"name":"MoveFile","line":213,"kind":"procedure","params":2,"steps":[[218,"call","ParseException",0],[220,"call","ParseException",0]]},{"name":"GetWorkingDirectory","line":223,"kind":"procedure","params":1,"steps":[[226,"call","ParseException",0]]},{"name":"SetWorkingDirectory","line":229,"kind":"procedure","params":1,"steps":[[232,"call","ParseException",0]]},{"name":"CreateDirectory","line":235,"kind":"procedure","params":1,"steps":[[238,"call","ParseException",0]]}]}