I need to execute a datastage ETL job which runs a shell script to move files from a specific folder in windows machine (not a file system) to a directory in unix.
I have something like this now
HOST=UNIX123 USER=abcd PASSWORD=abc123 FILE_NAME="Test.txt" ftp -v -n WINDOWS123 << end_script user zxc/VKR XYZ lcd /stg/scripts cd "data" binary mget *.txt quit end_script
The mget command here just copies the files. I would want to move the files instead of a copy