raksrules
Oracle
I have a requirement of creating a batch file in windows. This is what it should do.
1. Connect to Unix server through say FTP using supplied hardcoded credentials.
2. Navigate to a predefined Unix directory (mostly /usr/tmp/XXXX/).
3. GET the file which is there. Assume only one file will be there in this directory at any point of time.
4. Delete the file from that Unix directory after GETTING it. (I guess this through FTP is possible or not, not sure)
5. Close the connection.
6. File should now be available to the user in the same directory where the batch file was executed.
How can i achieve this ???
1. Connect to Unix server through say FTP using supplied hardcoded credentials.
2. Navigate to a predefined Unix directory (mostly /usr/tmp/XXXX/).
3. GET the file which is there. Assume only one file will be there in this directory at any point of time.
4. Delete the file from that Unix directory after GETTING it. (I guess this through FTP is possible or not, not sure)
5. Close the connection.
6. File should now be available to the user in the same directory where the batch file was executed.
How can i achieve this ???