FTP from QTXTSRC

15 pts.
Tags:
FTP
FTP management
FTP QTXTSRC data
iseries v5r4
V5R4
I previously sent this question around 2 A.M. est.  This revised version should be more coherent. 

How do you send data in a QTXTSRC member via the IFS in order to FTP it from a dos prompt or in a CLP? I created a stream file but I am receiving "File not found" when I run the put command. The stream file is in the root directory.

Software/Hardware used:
Iseries V5R4.

Thanks in advance.    

Seeker1

Answer Wiki

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

Discuss This Question: 5  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
    We'd need to see the PUT command before making specific comments. From the PUT command, we might be able to ask a couple questions that narrow the problem down quickly. You can FTP a QTXTSRC member directly, or you can use CPYTOSTMF to copy the member first to a streamfile and then FTP the streamfile. What do you want to do? Do you want to FTP straight out of QTXTSRC or do you prefer FTPing a streamfile copy of the QTXTSRC member? Tom
    125,585 pointsBadges:
    report
  • TomLiotta
    Please note that if you can't help us understand the question, we can't supply a useful answer. What procedure are you trying to do? Please describe the steps that you want to happen. Tom
    125,585 pointsBadges:
    report
  • Seeker1
    You can use CPYTOSTMF to copy the member first to a streamfile and then FTP the streamfile.
    0 pointsBadges:
    report
  • Splat
    Is there any particular reason the file has to be in the IFS? We send data via FTP directly from the QSYS.LIB file system. This is some (slightly modified) FTP source from a process run this morning:
    [target system login] [target system password]
    ascii           
    put [library]/[source file].[file member] [target file].txt
    quit
    There are overrides in place for the INPUT (FTP source) & OUTPUT (FTP log) files, and the FTP command is as follows:
    'FTP  RMTSYS('nnn.nnn.nnn.nnn')
    7,185 pointsBadges:
    report
  • Splat
    Please ignore that extraneous initial quote on the FTP command.
    7,185 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