|
Hi Ray, Thanks for the info. It seems that I was a bit hasty in suggesting the append command before - I should have read the command help. Append actually uploads files rather than downloading them. As far as I can tell there isn't a command in the OS/i5 FTP client that allows download of multiple files into one file. That being said, you might be able to: MGET * Run QSH ('cat /path/to/downloads/* > bigfile') (cat concatenates file together) Ray wrote on 17/10/2006 05:22:04 PM:
Do you know the file names before each download? No, it's system
created.
Do you download all files in a specific directory each time? Yes I can. Can you delete files from the server as you download them? Yes.
Given this, if you are interested in using an RPG program and FTPAPI, I could send you some source that implements gets all files in an FTP directory, deleting them as the are downloaded (so you don't reprocess them). HTH, Adam ##################################################################################### Attention: The above message and/or attachment(s) is private and confidential and is intended only for the people for which it is addressed. If you are not named in the address fields, ignore the contents and delete all the material. Thank you. Have a nice day. For more information on email virus scanning, security and content management, please contact administrator@xxxxxxxxxxxx #####################################################################################
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.