File transfer from PFC300 to web visu client

I need to transfer a txt file from PFC300 “PlcLogic” folder to web visu client (I use a PC with win10). I used a TransferFile method but not work. When I press a button I have error 7 or nothing information.

I have modify all codesys cfg file add: [CmpWebServerHandlerV3] AllowFileTransferServices=1

someone have an idea. FTP protocol is not allowed from the customer.
best regards

Hello,
Indeed you can use the Transfer type File if you modify the configuration of the runtime.
Another method if the file is not big, is to use the other type.
Next week I could give a sample with both method.

Thank you
I need to transfer some small text files and I need to try transferring the alarm history

So here is the sample program.
As you see on the visu there is 2 style of file transfer.

FileTransfer (3.5.19.20).project (2.7 MB)

Thanks a lot.
I tried to use the project with a PFC300 and it is running correctly.
The file is transferred to the Download folder on my laptop.

Now I need to use a WAGO Web Panel (which I do not have at the moment) and transfer the file to a USB key.
Is it possible to configure the download folder and select the USB drive instead?

Regards,

I have no idea, I have never tried this approach.
And I don’t have a panel to do the testing. so I think you will be the pioneer.

Thanks a lot, but do you know another system to transfer files when the machine is not connected to a network?"

I’m not sure I understand the question, how do you want to transfer files if there is no network ?
If you have an SD card or USB memory on a distant device you have FTP(s) available.

Also you have an SD card access on the device itself.

I need a system to transfer a file from the PFC300 to an end user (not maintenance or IT).
The PFC300 is installed in the cabinet and is not physically accessible; my only interface is the “Web Panel”.

Question: is the USB port on the PFC300 intended only for programming, or can a USB flash drive be connected?

In this case, I think I have probably solved the issue.

The WebPanel have a USB port but on the back of it (You will have to open the cabinet to have access to this port).

The PFC300 only have a SD card reader (SD, SDHC, SDXC).

Depending on where the WebPanel is (also is it a WP400 ? or a TP600 WebPanel ?) it could be easier to have the external memory on the WebPanel or on the PFC300 (SD card or USB memory) and use the webvisu to control the data.

But if FTP is not allowed by the customer (aka not safe since FTP is plain text, you could use FTPs which is FTP over TLS (Like HTTPs is for HTTP).

Anyway you can try the Webvisu file to see if you can use it for the USB on the WebPanel. and if not possible, the only way would be to use the SD card on the PFC itself.

Our plan is to use the WP400 connected to the PFC300 and then route the WP400 USB port to the front of the cabinet.

Could you please confirm whether the USB‑C port installed on the PFC300 is intended only for programming? I am not able to connect a USB flash drive to it.

Kind regards,