windows tagged posts

Transferring Files | Windows and AIX

If you’re one of the unlucky ones and find yourself unable to run a Linux workstation at work, and you administer AIX or any UNIX/Linux boxes, I’m sure you have had issues transferring files back and forth.
You can always use ftp and the plethora of programs that handle that connection, but myself I prefer Win SCP.

Win SCP is by far the best file transfer program I have found to bounce files back and forth from my workstation to my lpars.

Simply open the program, enter in your login information, and you can browse between the local and remote folders.  Browse to the source and destination, click and drag… everything is easy peasy and super quick

If you have any input on the matter I’d be happy to hear it!

Read More

FTP Script | AIX to Windows Share

Often times you may want to create a script to copy, move or grab files from your AIX machine to a Windows (or other) box.  In some cases, there may a shared Windows drive created office wide and you would like to dump system information or reporting here.  If ssh is not supported on the other end, you will need to use FTP.

General FTP Commands

Here is a quick script to move files from your AIX box to your Windows share.

ftpmove(){

ftp -n <<-EOF
open fully_qualified_server_name
user username password
cd path/to/file
put file_to_copy_to_windows

get file_to_copy_to_aix

EOF
}

ftpmove

Read More