FTP ZIP Files to QSYS and unzip

pts.
Tags:
DataCenter
Networking
Hi, has anyone FTPed zip files to the I-Series and tried to unzip them. If so what tools did you use. I downloaded some tools from IBm which works from QSH (Q shell)on the IFS file system. You can call the unzip command from QSH in a QSYS library but it doesn't identify the file as a ZIP files. That's because during the FTP it creates XXXX file with ZIP as a member when you ftp XXXX.ZIP. Can anybody help.

Answer Wiki

Thanks. We'll let you know when a new response is added.

don’t uses ftp, uses your windows explorer to copy your internet files to the ifs.
And you can also call unzip from your PC. It is the good choice when your zips are autoextractables.

It is strange to try to uses QSYS when working with QSH. your zip file is not a DB2 table.

Discuss This Question: 6  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Mocha1
    Hello. I have done FTP to ISERIES, but I have always downloaded to my PC first, then UNZIPPED. Then I just use the DOS FTP command to get to the iseries. Also, they have always be save files. That may not be what you are doing though. If so, you would have to create the save file on the ISERIES first to receive the data. Then you would just do a restore. Hope that helps!
    0 pointsBadges:
    report
  • GottaggedsoamnowIT
    Our company has PKZIP installed on the iSeries and uses that tool to zip/unzip files. However, the files may still be in PC format on the lpar when the zip/unzip operation takes place.
    0 pointsBadges:
    report
  • JPLamontre
    If you can not copy your ibm file to ifs with windows explorer, you can uses ftp (such as you have done) but change the name format : FTP ... ... namefmt 1 put thepcfile.zip /ifsdir/filename.zip here after the 400 help on namefmt NAMEFMT (Select File Naming Format) To select which file naming format to use on the local system, and the remote system if it is an AS/400 system, use the NAMEFMT subcommand as follows: NAmefmt ?0 ! 1| NAmefmt You can abbreviate subcommands to the most unique series of characters. The current setting is displayed when no parameter is specified. 0 A naming format only for the library file system database files. This format was available prior to Version 3 Release 1. The general format is: libname/filename.mbrname 1 A naming format for all file systems supported by FTP including the hierarchical file systems, the integrated file systems and the library file system. This naming format must be used to work with the hierarchical file systems and integrated file systems. This naming format is available at Version 3 Release 1. Library file system files in this naming format are: /QSYS.LIB/libname.LIB/filename.FILE/mbrname.MBR The document library services, an HFS file system, has the following format: /QDLS/libname/filename.ext For optical, the format is: /QOPT/volname/dirname/filename.ext Remarque : The name format can only be changed to 0 when the working directory is a library file system library. For related information, see the following: o Using FTP o Changing from one server file system to another o Integrated File System Introduction information in the iSeries Information Center at http://www.iseries.ibm.com/infocenter.
    0 pointsBadges:
    report
  • Dushan
    We use a utility called GZIP (www.gzip.org). It's free. It compresses and decompresses files on IFS and is the same as Gunzip on windows - probably works with Winzip as well. As the website states, its imperative transfer is in BINary mode. Good luck.
    0 pointsBadges:
    report
  • MichelleDavidson
    If you're looking for a tool, the latest release of Linoma Software's Transfer Anywhere product, version 1.6.0, has ability to zip and unzip files from a command line. -- Michelle Davidson, editor, Search400.com
    435 pointsBadges:
    report
  • JeffJAG
    Here is a link to an article about using OS/400 commands to unzip. -- the CL command STRQSH and -- the java command jar http://www.mcpressonline.com/mc/1@175.eBVCbDTTHv4.161@.6aebf1ca
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following