I have to write small ftp script .
I have a target file in the below location and it has 2 columns .
#outputDir#ETL_FINALIZED_PROPOSAL/EIM_EXTRACTED_PDF_list
1. LocalPath 2. LocalFileName
I have to delete the files in the remote location with following
parameters
if LocalFileName = Remotefilename
ftp Servername
Username
Passwordname
Remotepath
Remotefilename
> I think we have to write a for or while loop until it delete all the
> matching files.
where can i find examples.
please share your thought.
thks
>
>
delete files using ftp
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Etiquette Note
If no-one has replied it means one of a number of things.
>> They don't know.
>> They haven't had a chance to log in (it IS a holiday weekend in the US)
>> They don't care. Very rare at DSXchange.
>> They're still thinking about it.
"Push" posts such as yours don't really help.
Why don't you try some approach akin to what you suggested? If it works, post the solution and help others. If it doesn't work, post the error message; it will make it that much easier to diagnose and help.
If no-one has replied it means one of a number of things.
>> They don't know.
>> They haven't had a chance to log in (it IS a holiday weekend in the US)
>> They don't care. Very rare at DSXchange.
>> They're still thinking about it.
"Push" posts such as yours don't really help.
Why don't you try some approach akin to what you suggested? If it works, post the solution and help others. If it doesn't work, post the error message; it will make it that much easier to diagnose and help.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.