We have an FTP client who is putting 4 files at a time on their server folder for us to pick up. I am running into a little issue and am looking for options.
They will not delete the files from their folder after we get them.
We do not have authority to delete them from their folder after we get them.
If I try to just download everything again, my ftplog shows that the files already exist on our IFS. This is true for four files, but there are four new files I need to get.
Files will just keep stacking up and download times and processing time on our end will grow as time goes on.
Is there a way to 'select' the last four files that were loaded to their folder?
Here is an example of the 'unique' file name.
> mget *.csv 227 Entering Passive Mode (204,16,136,72,13,159) 150 Here comes the directory listing. 226 Directory send OK. Path already exists: /home/test/20120405-103602_LoadMaster_040512103326.csv Specify REPLACE as a subcommand option.
More info on how I'm doing this download.
CLP does a STRTCPFTP RMTSYS(*INTNETADR) INTNETADR and uses a text file to process the needed steps once connected to the ftp server.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.
Your password has been sent to:firstname.lastname@example.org
To follow this tag...
Thanks! We'll email you when relevant content is added and updated.
Share this item with your network: