delete files using ftp
Posted: Fri Nov 24, 2006 7:03 am
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
>
>
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
>
>