Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

.sftmp file

vijayk87714775
Level 4
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
Arun_Patidar
Correct answer by
Community Advisor
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

View solution in original post

3 Replies
atulj76172708
Level 3
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"

saurabhs6289352
Level 2
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

Arun_Patidar
Correct answer by
Community Advisor
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

View solution in original post