cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
TomPed
New Member

Use file size to decide if file is created or not

Hi, I have tried to use file size to decide if file should be created or not, the problem is that it seems that I have to create file before I can retrieve file size, and then its too late. Every second day, I receive an email with an attachment which I will copy from outlook to a sharepoint site if the size of the file is above 5 kB, if not the file should not be copied. The reason is that if the file is below 5 kB, the the file is "empty", and then I will use the file which is already in sharepoint, meaning I will not overwrite existing file.

 

Any tips is appreciated!

 

BR

Tom 

2 REPLIES 2
v-yamao-msft
Community Support
Community Support

Hi TomPed,

 

I am afraid that currently Flow is not able to check the file size. There are similar requests at Flow Ideas Forum, please consider to vote and comment the ideas at here:
https://powerusers.microsoft.com/t5/Flow-Ideas/Option-to-save-attachments-based-on-size-of-attachmen...

https://powerusers.microsoft.com/t5/Flow-Ideas/SFTP-File-Size-Condition/idi-p/56873

 

I will also help report it on my side.

 

Best regards,
Mabel Mao

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for your help. I have already voted:)

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (2,756)