Hi community!
I copy a file from an C# Backend Service via FTPS on the FTP from our PLC.
99% of the time this works just fine.
But sometimes suddenly the file can not be read or copied manually from the FTP Server onto my Notebook.
If i copy the file from the C# backend folder via drag an drop onto the ftp via FileZilla it works ever time.
But i do not think the problem is the C# backend because they are using framework
components and do not get any error during the process.
After this Problem occurs, in generell the FTP behaves very strange.
Other Files on the Server can be copied or read but some of them are faulty because they have information in it from other files, like they are merged.
To solve this problem i have to do a intial installation of the plc!
I tried everything i can imagine of and now i do not know what to try next…
Delaytimes between copy and read, delete file if read was not possible and copy file again usw.
Is there anywhere a log of the ftp server? I can not find any entries in the AS LogViewer…
Hi,
at first we must understand what the problem is.
I copy a file from an C# Backend Service via FTPS on the FTP from our PLC. 99% of the time this works just fine.
That means storing files on FTP server does not always work ? What means to ‘copy’ ?
And you always do this with the C# backend ?
But sometimes suddenly the file can not be read or copied manually from the FTP Server onto my Notebook.
That is reading file from FTP server ? What does ‘copying manually’ mean ?
And this always works when using Filezilla ?
After this Problem occurs, in generell the FTP behaves very strange.
which client is connected then ? Filezilla or C# backend ?
Other Files on the Server can be copied or read but some of them are faulty because they have information in it from other files, like they are merged.
Also with Filezilla ?
To solve this problem i have to do a intial installation of the plc!
so just restarting the PLC is not enough ? Did you try to read the faulty files by examing the CFast ?
I tried everything i can imagine of and now i do not know what to try next…
Perhaps it is an reasonable try to isolate the problem from your C# backend e.g. try to reproduce the issue with FileZilla or use WinSCP which can be used as a command line tool in an automated environment ?