Solved Need to Copy the latest file

September 14, 2011 at 00:14:26
Specs: Windows XP
Hi All,

My unix server will have have some .csv files. I need to copy the latest file from unix server to shared drive in windows through unix script. My shared drive will look something like W:\some folder(for example). I tried the ftp script but not seems to be working for transferring the file to shared folder.

Could you please help me with the unix script that will transfer the latest file from unix server to shared folder. Your help will be much appreciated.

Thanks !

Regards,
Jaya.


See More: Need to Copy the latest file

Report •

#1
September 14, 2011 at 17:29:03
The FTP script isn't working probably because you don't have an FTP daemon running on windows. In other words, you can't FTP to the windows machine.

However, if you had a windows script to FTP to the Unix box, where the daemon is easy to start, it might work OR install an FTP daemon on windows.

How do you know when a politician is lying? His mouth is moving.


Report •

#2
September 15, 2011 at 02:25:58
Thanks a lot for your reply guapo!

As you said FTP is installed in my windows server and i am able to transfer the file from unix to normal windows server. But the problem in transferring the latest file to shared folder in windows. I hope ftp command will not work for transferring to shared folder.

So can you please provide me any other unix command other than ftp command. I just want to know is there any other unix script to copy the latest file from unix server and transfer it to shared folder in windows.

Please help me out in this as i am new to unix script.


Report •

#3
September 15, 2011 at 05:13:36
✔ Best Answer
I can't write the script either. I still say that you would be better off with a VB script on the windows server. There is an example below.

http://stackoverflow.com/questions/...

How do you know when a politician is lying? His mouth is moving.


Report •

Related Solutions

#4
September 15, 2011 at 08:34:11
Hi Guapo,
Thanks for your help on this.

Report •

Ask Question