Search found 10 matches
- 15 Jan 2015 16:01
- Forum: DOS Batch Forum
- Topic: comparing folders and copying missing files
- Replies: 19
- Views: 5104
Re: comparing folders and copying missing files
How would I go about this? I am considering the rsync but if that doesn't work out, I'd like to keep this option open. Every time you upload new files you also upload a text file of the file names that changed. Then you basically have a batch file that does TWO ftp sessions. First one pulls down th...
- 15 Jan 2015 14:41
- Forum: DOS Batch Forum
- Topic: comparing folders and copying missing files
- Replies: 19
- Views: 5104
Re: comparing folders and copying missing files
As you control the updating of the FTP server files, you can upload a text file with the path\filename of the changed files on a schedule - and the users can use a script to check for that file and download the new ones on the same schedule. That is the great idea. A lot better than using the FTP s...
- 15 Jan 2015 13:35
- Forum: DOS Batch Forum
- Topic: comparing folders and copying missing files
- Replies: 19
- Views: 5104
Re: comparing folders and copying missing files
Squashman wrote:Because you are looking to roll this out to several people the software we use would be of no benefit to you nor would you want to pay the licensing for it.
I was talking to someone here at work and they suggested I could get rsync working pretty quick to do the necessary file sync.
- 15 Jan 2015 11:55
- Forum: DOS Batch Forum
- Topic: comparing folders and copying missing files
- Replies: 19
- Views: 5104
Re: comparing folders and copying missing files
foxidrive wrote:hiattech wrote:Actually, the files would be downloading from the ftp to the computers that need updated.
Do you control the updating of the FTP server files?
I do.
- 14 Jan 2015 23:22
- Forum: DOS Batch Forum
- Topic: comparing folders and copying missing files
- Replies: 19
- Views: 5104
Re: comparing folders and copying missing files
Actually, the files would be downloading from the ftp to the computers that need updated.
- 14 Jan 2015 19:24
- Forum: DOS Batch Forum
- Topic: comparing folders and copying missing files
- Replies: 19
- Views: 5104
Re: comparing folders and copying missing files
Ugh. We have 3rd party software where I work that does this for us. Seems like it would be a pain to do this with the commandline ftp client and batch. FTP can play some weird tricks with timestamps. You would be better of with some type of version control system. what's the name of the program you...
- 13 Jan 2015 21:59
- Forum: DOS Batch Forum
- Topic: comparing folders and copying missing files
- Replies: 19
- Views: 5104
Re: comparing folders and copying missing files
Ugh. We have 3rd party software where I work that does this for us. Seems like it would be a pain to do this with the commandline ftp client and batch. FTP can play some weird tricks with timestamps. You would be better of with some type of version control system. I'm ok with that. Suggestions? Any...
- 13 Jan 2015 19:00
- Forum: DOS Batch Forum
- Topic: comparing folders and copying missing files
- Replies: 19
- Views: 5104
Re: comparing folders and copying missing files
What is the criteria for that? Every so often, I update a mod. It will have the same name as the previous file. When a person runs the script, it will need check the file on the server and match size and possibly creation date or last modified date for comparison. I'm not sure what other properties...
- 13 Jan 2015 16:22
- Forum: DOS Batch Forum
- Topic: comparing folders and copying missing files
- Replies: 19
- Views: 5104
Re: comparing folders and copying missing files
You are trying to do this with FTP? m Very close and it is partly because I forgot to include the rest of what I'm trying to do. What I need is for it to also compare existing files (and versions) to the current one and if it's not the same, replace it. I assume taking one of those scripts and addi...
- 13 Jan 2015 12:37
- Forum: DOS Batch Forum
- Topic: comparing folders and copying missing files
- Replies: 19
- Views: 5104
comparing folders and copying missing files
Hi all, I am trying to create a batch file that will compare two folders and copy any missing files from one file to another. I have a possible script but I'm getting something wrong with the variables (or maybe the whole script is wrong). Any suggestions? @echo off &setlocal set "Mods=%app...