I am getting this: mget: filename.xlsx: file already exists and xfer:clobber is unset
error when I try to download the contents of my ftp server. Basically it is setup using cygwin. We recently upgraded the server where all of the data is downloaded to on a set schedule. The old server was Windows server 2003, and the new server is windows server 2008. I am having issues when I try to download a file that is already in the folder. The client never changes the file name, so when we go to download it from the server we get that error. Is there anything i can put in the batch files, or something for it to just force it to replace that file? Thanks in advance
xfer:clobber
is the setting in lftp that decides whether or not to allow mget to replace files. Addto your lftp script so that it's set, then the mget command should replace the file.