Apologies if the following is rather obvious, I'm new to Flow but have been reading up and absorbing what I can in the past couple of days.
I have several ip cameras which store their images and short vidoes on my limited cloud ftp server. I am trying to use flow to transfer these images and videos to my unlimited Google Drive account for permanent storage.
I have several problems...
1. Flow will not monitor my ftp subfolders but the webcams automatically place the files in dated folders so I am having to use an ftp app on my mobile to move the created files into a folder which Flow looks at. As far as I have read, I think there's no way (yet) for flow to observe subfolders - am I correct? If I'm wrong, then I would be able to leave the whole thing unmanaged apart from deleting the ftp space every few days.
2. When Flow copies files to Google Drive, the file size differs slightly and the files are currently unreadable. How do I solve this?
3. Is there a way of amending the flow to run once every 12 hours or so? At the moment, it's checking every 15 minutes and my 750 monthly runs will be used up in just under 8 days.
4. Since changing the folder structure in my ftp server and amending the Flow to suit, when I use a mobile app to move appropriate files to the new folder, only some of them are being added to Google Drive (and with incorrect file sizes - see above). I'm a bit stuck here but will monitor the success of transfers.
I have used the template 'ftp server to Google Drive' to achieve the above. It's so nearly doing what I want but I'm not quite there yet!
Thanks in advance for your help.
For your first question, how do you want Microsoft Flow to monitor your ftp subfolders? Do you want to monitor if there is a file created in subfolders of ftp server? There is no trigger to monitor subfolders of ftp server in Microsoft Flow currently, but we could use “List files in folder” action or “List files in root folder” action of FTP Connector to get the lists of files and subfolders in a folder.
For your second question, which action do you use to copy files to Google Drive? I copy files to Google Drive with “Create file” action, the file is able to read. Besides, each storage medium has its own byte stand, so the file size would differs slightly.
For your third question, you could add a Recurrence trigger, Interval set to 12, Frequency set to hour:
For your forth question, could you please share a screenshot of your flow’s configuration? Please check if you have set a condition to filter these files. If you share a bit more about your flow's configuration, we would understand your scenario better and provide a silution for you.
Thanks for your reply.
As there is no way to monitor subfolders, I have opted for a specific folder which I will move all media to on a daily basis (or even every other day).
I created a new flow this evening which seems to do that part correctly and I have set it to run every 12 hours.
The one big thing that doesn't work though is that the files seem to be altering when copied onto Google Drive. If I upload a known working jpg file to my ftp which then transfers (apparently correctly) to Google Drive and I then re-download it to my PC - it is no longer readable and of a different size.
My flow is shown here:
Thanks for your help,
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!
We've given our badges an overhaul and also added some brand new ones!
Learn how to build the business apps that you need.
Find out where you can attend!
Watch & learn from the Power Automate Community Video Gallery!