Expand my Community achievements bar.

SOLVED

.sftmp file

Avatar

Level 4

Hi All , In our project under the content there is a node that has file with the extension  .sftmp . Not sure how that node got created . Wanted to know in which scenarios does this node gets created . and If I delete this node will there be any issues ??

Thanks in advance.

sftmp.png

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

file.sftmp is used to hold tempaory assets data in JCR.

when you use fileupload component and browse/drag-drop an asset in component, asset is uploaded in JCR with name file.sftmp, and as soon as you submit dialog, node name changed to file.

In Summary:

before dialog submit asset node name is file.sftmp

after dialog submit asset node name is file



Arun Patidar

View solution in original post

3 Replies

Avatar

Level 3

Please check if you are using a OOTB file upload component in your project.

FileUpload — Granite UI 1.0 documentation

Component Path: /libs/foundation/components/form/upload

sling:resourceType="cq/gui/components/authoring/dialog/fileupload"

Avatar

Level 2

if you try to upload a new thumbnail image on editable template this image gets corrupted and get saved .sftmp file.

The workaround is to remove the file extension .sftmp and image will start loading fine. This was known issue and fixed on AEM 6.4

Avatar

Correct answer by
Community Advisor

Hi,

file.sftmp is used to hold tempaory assets data in JCR.

when you use fileupload component and browse/drag-drop an asset in component, asset is uploaded in JCR with name file.sftmp, and as soon as you submit dialog, node name changed to file.

In Summary:

before dialog submit asset node name is file.sftmp

after dialog submit asset node name is file



Arun Patidar