[APP][Pro] FTP Client - Control FTP Servers through a directory-based UI in the Homey App or Web App

I got a bit overheated and out of patience yesterday, Arie :stuck_out_tongue_winking_eye:

Still the flow does not spit out the expected images,
what am I doing wrong…
I’ve identical flows for my NAS and for the MicroWebServer.

Here’s the tef for the MWS

[tef:FLOWS:"H4sIAAAAAAACA+1abW/cuBH+K4JwQFsgjEmKrwv0Q5r02rs26eHiNh9sw+DL0FZvLW0lOYkR5L93KGk3XtvXKG8XowhgrG2KojgzzzzzcLRvyliu3pTRS6+ZAgJOeCK0UsR7afOHBKUFddHleU25Kn+qw3DZQXEI/VA+KAMOtcM5dOXbB6UCy5hmlMQImggrFXHaeqIrlRREHr3z23We12eNWxd/am+tAtxGrgMQB8IRwcERyzngeoFZDcayGLerfH/4U/G0Dl1bvABfPIfuJa5xYz1HPWdQWSJDsrhelQgOMCKYS4ZS0NTudvUU+h6aM+ju2ljU1vJYKaI1l0TE4Ikx4EllRZRWe1p5s13oENZw1rmL2+vgQsM4a/3wP+vLfoCO1MPDH/u2+atr4hqnzEv8+Pwfz4rtWL4NY3D0pqzxklTOJeccYcamvJMKncUkiZIFZ71IIlb41LzKX2Ao/vnz34s2Fa5I9RqK3z998fwPeBXKVXLrHsbdvSmdNdRoKwnHTyICMLQuYQRTrEAHxpUSed7rcsXpg/KqXFWCjraU/eC6bGWPGyxjYL4KFIiPeW8JHW+8SoQrZyuqXWVYKE/QHJ1UBK40oUZSIgwCxQYViZTBM86S0UrPD6zM9ET8bPF55+0FXK0uXOMwUqv+Cp14gY/PnoHG+TU82mzKaWsuDHXblKPz0EYcx1814ueG/78fNo/XNTTZjMZdwIyteSyjclwYbxy6S8jRiAwkhaCJCZUhoqK4fYXWALoupGgzSObtL918B6MnP3z3T+BlHeCx2zhfr+uhhv6dGdO1Yu/i22xA4kyA15zYSmCgTIrEOW8I5YpnDtBMxtkApiYTNN8zAje0+nUYTzYNXX2Ghp6ertt2c3o6wOuBzdbNl7bAoYwBdawiIRiOLIRetQb9SyOjR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GtM3Xq6I9+TTV+HYT3LFcTMx7ZIXP7MzxMy0qJm+Yj/2m9D5SkJn0cu/rdAR26MFvbdHtG9A+lpAWvJ6eHe2moEk+b09o34D0lcC0qIvEGyLl7jzndVn74x+WE/0s/TxF31BYkvM8wFhbBTf+rbIom9F4IkkVtYYFA0y96KnL+QwJgkTknmvmBu/1PaB38hYtOiWFdS1NvctKxa9I/iw7b19e/L2v02bjOofKgAA":/tef]

The timeline/Telegram cards return this from the THEN card ‘JSON Handler Start MWS fotos for [Files JSON]’:

From "Start MWS fotos JSON Handler" card: ["peterdeedash/assets/devices","peterdeedash/assets/AndroidPhonePortraitChrome.jpg","peterdeedash/assets/GoogleHub_view_with_tablet_theme.jpeg","peterdeedash/assets/Screenshot_20210514-175224.png","peterdeedash/assets/Screenshot_20210514-175240.png","peterdeedash/assets/menu_android_tablet.png"]

That’s all this flow spits out…

I created and selected a local tag for the JSON cards as well:
Screenshot from 2022-11-04 16-02-25

But this card now does not seem to trigger.


ADDED @ 22.00h
I ran a test flow. The “Get an image token” card returns this:

["peterdeedash/assets/devices","peterdeedash/assets/AndroidPhonePortraitChrome.jpg","peterdeedash/assets/GoogleHub_view_with_tablet_theme.jpeg","peterdeedash/assets/Screenshot_20210514-175224.png","peterdeedash/assets/Screenshot_20210514-175240.png","peterdeedash/assets/menu_android_tablet.png"] 

And when I test start the flow from the JSON Handler “MWS fotos” triggercard, with this string as “Item text”
Then the FTP “Get an Image token card” throws this error:


When error: Error FTP NAS 'Get an image Token for [tag]": 
 451 ENOENT: no such file or directory, stat '/userdata/files/[peterdeedash/assets/devices,peterdeedash/assets/AndroidPhonePortraitChrome.jpg,peterdeedash/assets/GoogleHub_view_with_tablet_theme.jpeg,peterdeedash/assets/Screenshot_20210514-175224.png,peterdeedash/assets/Screenshot_20210514-175240.png,peterdeedash/assets/menu_android_tablet.png]'

I’ll look into it peter, just not now: it’s kids time!

Or is is Dad time :rofl:) We will find out :slight_smile:

Stay up night, always fun.

No hurries again Arie! Just still a testing phase.
Depends on the kids right, which time it will be :upside_down_face: :partying_face:

1 Like

For everyone looking for TimeStamps:

[APP][Pro] Better logic - Just some better logic and variable management - Apps - Homey Community Forum

New in test:
Get a formatted stamp (local time):
image

image

And you can format it yourself just like you want it, giving the results during the typing:
image

1 Like

New in FTP Client test.

BLL coding support:

Example 1

image

This will result in the file:
image

Example 2

image

This will result in the file:
image

Other coding

Or you can use other datecodings, see the BLL Users Topic for more information on coding.

1 Like

Just added:
Support for HTTP/FTP Server App.
When you have HFS installed, during device creation, it will automaticly appear in the list to be selected from.
Also some minor bugfixes for handling files and directories in the Root directory.

FTP Client has just been updated to work with the White HPs and the HP2023 again.

1 Like

FTP has just been updated with a new Flowcard:

Save a Base64-string/text as File on the FTP Client (can be used for the Log of Simple Log or the Variables of Better Logic Library).

image
Here i save the complete log as Excel file on the FTP client.
This can be done automaticly each day :slight_smile:

1 Like

I installed the FTP client so I can export the Simple log data to my Synology Nas.
When I add the FTP client my Nas is there to choose but when I login with my credentials it says “This information is incorrect”

The FTP server is enabled with SSL/TLS and the user I login with has rights for FTP.

What am I doing wrong?

Thanks.

My bad, the app only tried unsecure after the default login window.
I have fixed that, and i have added a few logging lines, so, in case it doesn’t work wit 1.5.1, send me a diagnostic after trying to login.


EDIT:
It’s in test btw: FTP Client | Homey

1 Like

I can login now so that works but I 'm getting errors when trying to export the simple log data.

Filezilla

All works fine with Filezilla so what am I doing wrong here or am I missing?

Even when login as Anonumous I get this error.
I think all settings are correct on my nas and firewall but maybe I missed something why it doesn’t work on Homey but does work with Filezilla?

Send me a diagnostic please?

Here you are.

91d0c681-d0c0-4fbd-9b58-92c35edf17d7

Awell, thats nice, this time, i have a diag full of usefull information.
However, i am not familiar with the error and this might take some time to fix and simulate.

Would you mind a support ticket for it? Thanks!

1 Like

Take your time. No rush.

Thanks