Search found 4 matches

by snake9284
22 Apr 2014 10:50
Forum: DOS Batch Forum
Topic: Adding manifest list for weekly FTP files
Replies: 7
Views: 2907

Re: Adding manifest list for weekly FTP files

Thanks again foxidrive. I created the .bat file as suggested and added the following to the beginning of the FTP .bat file. Thanks again for your help, this was a much quicker solution than I had hoped for! Cd c:\ echo filename - rows - filesize > weekly_ftp.mft Call manifest_list.bat "e:\trans...
by snake9284
21 Apr 2014 15:25
Forum: DOS Batch Forum
Topic: Adding manifest list for weekly FTP files
Replies: 7
Views: 2907

Re: Adding manifest list for weekly FTP files

Thanks foxidrive but I'm not sure how to implement this code. Do I save it as a .bat file in the c: drive? Thanks for your help with this. :manifest_list for %%a in ("%~1") do ( for /f %%b in (' find /c /v "" ^< "%%a" ') do >>"weekly_ftp.mft" echo %%~nxa - %%b...
by snake9284
18 Apr 2014 18:08
Forum: DOS Batch Forum
Topic: Adding manifest list for weekly FTP files
Replies: 7
Views: 2907

Re: Script Help Request

That is correct. They are | pipe delimited text files with .dat as the extension. Sample data from one of the files looks like this: 20|000042|D|000 20|000082|Y|100 20|000103|D|000 20|000120|M|000 20|000123|M|000 20|000124|M|000 20|000205|Y|100 20|000225|D|000 20|000317|M|000 20|000473|D|000 20|0005...
by snake9284
18 Apr 2014 15:57
Forum: DOS Batch Forum
Topic: Adding manifest list for weekly FTP files
Replies: 7
Views: 2907

Adding manifest list for weekly FTP files

Good afternoon. I have an FTP task set up that transmits a number of files to a vendor but the Service Delivery team is requesting that I create a manifest file to send along with the data files. Is it possible to scan a file for the number or rows and output the results to a file? What I'm picturin...