Hi All,
I am writing a flow service,which pulls the files from server “A” and places them on server “B” using FTP.
- log on to host server
- Change to the specified directory
This dir contains pairs of *.xml and *.tiff files …
Need to ftp all the pairs to the destination. - List all the xml files. Take the first xml file and find its corresponding tiff file filename by trimming the xml filename.
- Ftp the tiff file to the destination. Delete the file from the source.
- Now ftp the xml file to the destination. Delete the file from the source.
- Repeat steps 3 to 5 untill all the files in the dir are ftped to the destination.
Note: First the tiff file has to be ftped and only then the corresponding xml file has to be ftped.
Can anyone help me in doing this…
Thanks in Advance,
Reddyparne