× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



+1 on keeping it simple - exactly right, man!

On 7/15/2014 7:47 AM, Bradley Stone wrote:
Jeff,

If you're FTPing from your IBMi then just do this:

ftp 'site.name'
user
password
namefmt 1
cd <remote directory>
put /path1/path2/filename.ext
close

optionally you could do:
ftp 'site.name'
user
password
namefmt 1
cd <remote directory>
lcd /path1/path2
put filename.ext
close

I think the namefmt 1 is what you're looking for to get out of "library
mode" on the client side (the IBMi)

Brad
www.bvstools.com


On Tue, Jul 15, 2014 at 7:20 AM, <rob@xxxxxxxxx> wrote:

Need some clarification.
Who is the client? For example, if you are running the ftp command from
IBM i then IBM i is the client. However, if you are running ftp from a PC
or something else then that is the client.
So, if IBM i is the client then locsite namefmt 1 is correct. Otherwise,
locsite is all wrong.

Are you sending this from one IBM i to another? If so, then do not use
locsite. Instead just use namefmt 1.


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: 07/15/2014 08:13 AM
Subject: Using FTP to transmit a file in the IFS
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



I need to transmit a file in a directory in the IFS using FTP from the IBM
i server.
I have used the locsite namefmt 1 command to set my naming format on the
client.
When I use the put command, I receive an error indicating an unknown
database extension.

What am I missing?


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 ...

Follow-Ups:
Replies:

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

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