Bala, I've tried ftp commands to a couple of the linux/unix servers we have here. The file gets there with a file mask of 344 (-rwr--r--) is my math is right. Why would you need to have them as 755 (-rwxr-xr-x) if it's a daily process?? Dick Goulet Senior Oracle DBA/NA Team Lead PAREXEL International ________________________________ From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Balakrishna Y Sent: Wednesday, September 16, 2009 11:34 PM To: oracle-l@xxxxxxxxxxxxx Subject: Batch file Permissions Hi all, I am trying to automate ftp from windows to Linux machine. My Batch file looks like this . The problem is by default while shipping the file i wanted to give permissions to files as 755 . Can any one help me out . @echo off SET CUSTOM=/apps12i/oracle/KIRAN/ apps/apps_st/appl/custom/12.0.0/reports/US echo user oracle> ftpcmd.dat echo passwd >> ftpcmd.dat echo bin>> ftpcmd.dat echo cd %1 >>ftpcmd.dat echo put %2 >> ftpcmd.dat echo quit>> ftpcmd.dat ftp -n -s:ftpcmd.dat ipaddress del ftpcmd.dat Regards Bala