Hi Hunam,
hello and welcome to the forum!
Due to a high spamming rate here, you need to have at least 10 postings before you can post links etc.
OK, here is what is going wrong:
1. You need to provide a FILENAME for the downloaded file
2. "%USERPROFILE%\desktop" is not a valid location in LC.
Use -> specialfolderpath("desktop") for this
Something like this will work:
Code: Select all
...
## Filename on your desktop:
put specialfolderpath("desktop") & "/latest-fr_FR.zip" into tFile
libURLDownloadToFile "ftp://fr.wordpress.org/latest-fr_FR.zip",tFile,"Downloaded!"
...
And don't forget to add USERNAME and PASSWORD for the FTP server like!
Code: Select all
...
libURLDownloadToFile "ftp://USERNAME:PASSWORD@fr.wordpress.org/latest-fr_FR.zip",tFile,"Downloaded!"
...
Best
Klaus