How to Download from FTP Server Directly to Grid Controller
A quick study on useful FTP commands to speed issue testing and resolution.
Consider wget. But wait, isn't wget only good between other linux or http servers? Not so fast. As I discovered, wget has options to encapsulate ftp and does it very fast. The options passed to wget are:
'--ftp-user=<ftp_userid>' and '--ftp-password=<ftp_user_password>'
This command string will offload an iso from the corporate ftp server to your grid in record time, almost as fast as scp between grids or a grid and bfc:
wget --ftp-user=<pmfkey>@ca.com --ftp-password=<ftp_server_password> ftp://supportftp.ca.com/<customer_id>/<case_num-0x>/files_from_customer/<target_object>
For example:
wget --ftp-user=lopda01@ca.com --ftp-password=mypassword ftp://supportftp.ca.com/0372040/21277867-01/files_from_customer/SW_DVD5_Windows_Svr_DC_EE_SE_Web_2008_R2_64Bit_English_w_SP1_MLF_X17-22580.ISO
Yes, the password appears in clear text, but your ftp credentials get you logged in to the server so you can access the target file.
Note: in StarClient in the 'Attachments' view, you can right click on the desired object to see a pulldown menu, and select 'Copy path to clipboard' which you can then paste into the command string.
gives the path:
ftp://supportftp.ca.com/0919313/21283047-01/files_from_customer/3tcollect_GRID3.zip
|
Copyright © 2012 CA.
All rights reserved.
|
|