Page 1 of 1
No update of the audio news file via FTP
Posted: 11 Apr 2024 11:22
by claudius06
Hello,
In order to download the news file from the supplier's FTP server, in the Program Scheduler, I created this reminder with the EXEC_DOWNLOAD_FILE function:
Code: Select all
EXEC_DOWNLOAD_FILE ftp.xxx.yyy.fr/flash.mp3|F:\-Info\flash.mp3[|user|123456789]
The test is OK but the target file never changes.
Do you have any idea of the problem? Does the target file need to have a specific property in order to be overwritten?
Re: No update of the audio news file via FTP
Posted: 11 Apr 2024 11:53
by radio42
You need of course write access to that file.
And you have to make sure, that the file is not in use while a new one might overwrite the existing one.
Have you tried the command manually eg. via a user command?
Re: No update of the audio news file via FTP
Posted: 11 Apr 2024 13:03
by claudius06
Everything looks fine. Both the folder containing the file and the file itself are writable.
The particularity is that the file is located on an external SSD.
I also tried the manual command, but without success.
Re: No update of the audio news file via FTP
Posted: 11 Apr 2024 16:40
by radio42
Then activate the Debug Logging (general settings, More Stuff) execute your command and deactivate the Debug Logging after.
You will find the error in the Debug Log (see the Tools ribbon tab). Just post it here or send it to me…
Re: No update of the audio news file via FTP
Posted: 12 Apr 2024 00:05
by claudius06
With Bernd's help, here is the right command, at least the one that works in my case. It was necessary to remove the brackets and instead of the server URL, it was necessary to indicate the path that can be found on FileZilla (for example) by right-clicking on the file to download. This gives a command like this:
Hope it can help someone in the same situation.