|
Hi Manoj,You need to create a stream file on the IFS to allow SFTP
operations.Enviado desde mi Galaxy
-------- Mensaje original --------De: manoj kumar <svmanoj166@xxxxxxxxx>
Fecha: 1/3/2025 12:00 (GMT-06:00) A: midrange-l@xxxxxxxxxxxxxxxxxx
Asunto: Iseries native file upload using SFTP PUT Command > Hi>> We have an
existing process that will use FTP script to upload the iSeries> physical
file in QSYS.LIB/XXXX.LIB to the remote server. Now we are> planning to
change the existing process to use SFTP.>> We are using QOpensys and using
the PUT command to upload the physical> file. But my concern is, the
following command fails when the physical file> not already available on
the remote server when i was using SFTP. The same> command works fine when
i run this on FTP protocol.>> put
/QSYS.lib/EVENTS.lib/ASGTRESP.file/M000028373.mbr/*.MBR>
/QSYS.LIB/EVENTS.LIB/RA02600001.FILE/RA02600001.MBR/*.MBR>> Error:
open("/QSYS.LIB/EVENTS.LIB/RA02600001.FILE/RA02600001.MBR"): No> such file
or directory".>> There is no issue with the above command when the
destination file is> already available at
the remote location.>>> how can i use PUT command, so that it can create
the file automatically> when it's not already at remote location?>> why is
the same command creating the file successfully at the remote> location if
i use FTP instead of SFTP? why its fail in SFTP?>> Please help me.>>
Regards> Manoj>>>>-- This is the Midrange Systems Technical Discussion
(MIDRANGE-L) mailing listTo post a message email:
MIDRANGE-L@lists.midrange.comTo subscribe, unsubscribe, or change list
options,visit: https://lists.midrange.com/mailman/listinfo/midrange-lor
email: MIDRANGE-L-request@lists.midrange.comBefore posting, please take a
moment to review the archivesat
https://archive.midrange.com/midrange-l.Please contact
support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.