Home > AS/400 Tips > iSeries administrator tips > Automatically save, FTP and restore objects to a remote system from a single command
iSeries 400 Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ISERIES ADMINISTRATOR TIPS

Automatically save, FTP and restore objects to a remote system from a single command


Andy Norton
07.19.2004
Rating: -4.60- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


This tool allows you save, FTP and restore up to 10 objects at a time to a remote system using a single command. The command prompts you for the object names, the library name, the object type, the remote system name (or IP address) and your password on the remote system. The additional parameters that appear after pressing F10 allow you to change the name of the library that the objects are restored to, or alter the user name, the FTP logs in as on the remote system. (The default is the same user ID you are using on the sending system.) The program works by saving the objects to a save file in QTEMP, building an FTP script, sending the save file via FTP to the remote system and issuing the restore command in the same FTP script. Nothing needs to be loaded on the remote system. (The FTP server must be started though.) The program wil

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
iSeries administrator tips
Translating Linux for IBM i admins: Using GUI to make it easy
Translating Linux for IBM i admins: Working with jobs and networking
OpenOffice: What to know before making the transition from Microsoft Office
OpenOffice: An enterprise open source solution
Database performance comparisons on IBM i
Translating Linux for IBM i admins: User profile commands
Modern System i reports using Client Access
Tips for installing Lotus Domino server on a System i partition
The iSeries Blog has a new home on IT Knowledge Exchange
Virtualization for IBM i: Backups

Systems Management
Can you trust all those trigger programs?
Are your backups complete?
Controlling remote command processing
Watch your profiles
Avoid locking issues
Send message to users at a remote site
Security journal receiver management
Top 10 backup commands
Create an iSeries Access image and update it with the latest Service Pack
Tracking critical file access in real time

FTP
Simplify the process of converting a spool file from iSeries into an Excel spreadsheet
Generically send a text file from the IFS via FTP
Automate Client Access to find files on Windows scheduler
SAVF by FTP on AS/400 -- error "source file not found"
Use a virtual directory to move a .bmp file from the IFS to a remote server to run a software package
Transferring binary files to IFS from a PC via FTP
FTP from AS/400 to PC folder
How to FTP without knowing the file name
IFS folder error
Creating the correct member type in a source physical file via FTP

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


l work as long as you have a user ID with sufficient authority and the remote operating system on the target system is the same level or higher than the sending system -- although the program could easily be modified to save at a previous release.

Debugging FTP failures
The program will create a file called FTP in QTEMP which has two members (FTPIN and FTPOUT). You can look at these members to examine the FTP script that was run on the remote system (FTPIN) and look at the response received (FTPOUT)

I'm currently working on a similar tool to provide the same functionality for IFS objects.

Installation

Firstly, you will need to create a simple DDS source member called FTP in QGPL/QDDSSRC. This defines the FTP script file and log file.



Code


Rate this Tip
To rate tips, you must be a member of Search400.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



iSeries Security - Security Tools, Physical Security and System Security
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts