Hi There,
I want to upload several files on a ftp site, but some of these files already exist on this FTP so I would like to prevent them to be re-uploaded again.
At the moment I'm using curl to do the job, but I overwrite all the files each times, as I couldn't find a way to make curl to check if the file exist, and if so, to skip it.
Current used code:
Code:
curl -T - --disable-epsv -u username:password ftp://Myftpsite:21
Is there any function in curl like "If-Exist-Do-Not-Overwrite"?
Or a way to implement that? (even with an other command I don't mind)
Best regards,
Angel