How FTP pulls files
Posted on 2013-11-04
I am pulling files from a customer's ftp sever on a daily basis. Up until recently, we had no problems but suddenly we are getting files with today's date and the file has some other day's data. It turns out that we rename the file on our side and the customer is trying to say we are messing up the data when we rename it.
Can someone please explain how ftp works when there are multiple files with virtually the same file name with a different date.
For example if the customer had three files on the ftp server
Given the following script what would be pulled from the customer's ftp server.
1. open 999.999.999.999
2. user MICKEYMOUSE
5. lcd c:\TEMP\
7. mget *.*