I'm facing a challenge in writing a code to create directory with SynvFile function
I would like in the directory it have been a folder named using the Date and time when the synchronization is made.
I think this was possible with de PNC file (%DateTime) so I wrote a similar code as bellow:
function SyncENQ1AvecQG()
if syncconnect(FTP,URLServer,Username,Pass) then
syncfile(PUT, "../App_Gouv/Gouvernance_MIC.csdb",
"/%Data_serveurENQ1%/%DateTime%/Gouvernance_MIC.csdb");
Buuut It doesn't work
I juste have a directory as : Data_serveurENQ1 ==> DateTime
instead of Data_serveurENQ1 ==> 060320191233 (for example)
What is wrong in my code ?