No update of the audio news file via FTP

You have a question or need an advice about how to do something? Ask it here!
Post Reply
claudius06
Posts: 185
Joined: 25 Nov 2023 09:23
No update of the audio news file via FTP

Post 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?
User avatar
radio42
Site Admin
Posts: 9010
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: No update of the audio news file via FTP

Post 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?
claudius06
Posts: 185
Joined: 25 Nov 2023 09:23
Re: No update of the audio news file via FTP

Post 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.
User avatar
radio42
Site Admin
Posts: 9010
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: No update of the audio news file via FTP

Post 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…
claudius06
Posts: 185
Joined: 25 Nov 2023 09:23
Re: No update of the audio news file via FTP

Post 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:

Code: Select all

EXEC_DOWNLOAD_FILE ftp://[email protected]/flash.mp3|F:\-Info\flash.mp3|login|123456789
Hope it can help someone in the same situation.

Post Reply