Wednesday, September 7, 2011

9/7/2011 - Techie Posts

Felt Happy with the information found

1) If the unix server is setup with Samba just mount the drive to your windows server then use a batch file with normaly copy commands. If not it might be worth looking into settting Samba up.
2) If your unix box has FTP or SCP setup you can just write a script that connects and copies files over.
3) NFS (http://support.microsoft.com/kb/324060) - Not familiar with this.


if you go the Samba Route....

Batch file instructions for copy/paste:
http://www.ehow.com/how_6830153_copy-paste-batch-file.html

NOTE: You would just copy from the location and then paste to whatever drive/location you mapped the Samba share to.

For the samba setup I would good for instructions for the specific version of Unix you have. Also, google on how to map the share to your Windows machine. Should be easy enough.

Windows text files use CRLF for end of line. Some FTP clients will fix this for you automatically if it detects that the remote server is returning UNIX-style directory listings and you send a text file in ASCII mode instead of Binary. If WinSCP doesn't do it then try Robo-FTP... it has better scripting capabilities anyway.


You can use the pscp command line utility from the putty package:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html



Not so Happy with the Process in which I am



Do not worry about tomorrow, as no one knows, as if you are alive... live today!!!!

Script to transfer files from Linux to Windows

You can also choose alternate way
use application pscp.exe
2.Save pscp.exe to c:\pscp.exe (or any location u want to save but make sure no space should be there in the path i.e c:\newfolder\pscp.exe is correct)
3.Create a .bat file the syntax is
c:\pscp.exe -pw /filename(s)

pause

4.Save the Notepad file with ext .bat
5.Enjoy now u can transfer files from linux to windows

No comments: