FTP subcommads

55 pts.
Tags:
AS/400 FTP
Hi All, Can anyone provide list of file/object extension .XXX, downloading data to PC and PC to iseries box we need this extensions. 2) I faced an issue have taken one of savf data to PC. But when I tried to transfer to iseries the file is saved in PF type. Can anyone help me to recover this error? //Dina

Answer Wiki

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

I think you also need to set the mode to BIN when doing the FTP command.

Todd

Discuss This Question: 4  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
  • TomLiotta
    For most practical circumstances, there are two types of extensions that make a difference to iSeries: .SAVF and everything else. The .SAVF extension (upper-/lower-case doesn't matter) can be automatically recognized as a savefile. Everything other than .SAVF will be handled as a plain old physical file.   This only matters for uploads/downloads through the /QSYS.LIB file system. If you're working through a basic /root file system directory, the extension is irrelevant. All transfers in to or out of /root are straight streamfile transfers.   If any other extension is used for a savefile, you must use CRTSAVF to pre-create the savefile to receive a transfer and retain the savefile format. It can take a couple practice runs to get the hang of it, but it's reasonably simple once you see it work. Basic tests are easy to set up.   Tom
    125,585 pointsBadges:
    report
  • ToddN2000
    In addition to doing the FTP in BIN (binary mode) another possible problem can happen if you are trying to transfer this SAVF to another i-Series. It may be that the target system is on a different release. In that case you need to create a new SAVF with the target release set properly.
    11,790 pointsBadges:
    report
  • TomLiotta
    I think you also need to set the mode to BIN...   Definitely. There should be no character conversions allowed for savefile data.   Tom
    125,585 pointsBadges:
    report
  • Brilliant145
    However have tried BIN, as my friends said have created new savf on target iseries machine followed below cmd from my PC put Target.LIB/XXX.savf    Target.LIB/XXXX.savf it worked fine, thanks to all  
    55 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