×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




When using the MPut sub command in SFTP, if an exception occurs while
sending a file, what if any feedback can I get?
Currently, if the server can not be reached or a problem occurs when
sending a file (using a specific file name), I get a QSHxxxx exception back
to my program. Does MPut cause the same type of exception to be raised?


On Thu, Dec 13, 2012 at 11:30 AM, <rob@xxxxxxxxx> wrote:

I suppose that depends on the client. For example ftp from the command
line on the i doesn't pause, but ftp from the DOS command line does -
unless, you use the PROMPT command to turn it off.


Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: Jeff Young <jyoung0950@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>,
Date: 12/13/2012 11:21 AM
Subject: SFTP Question
Sent by: midrange-l-bounces@xxxxxxxxxxxx



Does the MPUT command work the same under SFTP as it does under FTP?
I have a requirement to send all files in a specific folder regardless of
the name.
Will MPUT do what I want without stopping to ask for the file name each
time?

Thanks,

--
Jeff Young
Sr. Programmer Analyst
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.