And if you don't/can't run Netserver, or want to do uploads from the
Internet, would a simple web-based upload be OK?  We do them all the
time using a basic Net.Data macro.  

-----Original Message-----
From: Steve Landess [mailto:sjl_123@xxxxxxxxxxx] 
Sent: Monday, March 01, 2004 7:09 PM
To: Midrange Systems Technical Discussion
Cc: SCarter@xxxxxxxxxxx
Subject: Re: moving files from PC to the IFS in green screen Application

Scott,
If you have NetServer running and have set up shares on the PC's, you
can use the CPY command to copy files directly from the PC to a folder
in the IFS by using the QNTC file system.

Example:

I have a PC named I8KWINXP, with drive D: shared as D_I8KWINXP.
>From the green-screen command line on my AS/400, I just executed this
command:

CPY OBJ('/QNTC/I8KWINXP/D_I8KWINXP/temp/sql.txt') TODIR('/TMP')

and it copied the file SQL.TXT from the D:\TEMP folder to the /TMP
folder in the IFS.

HTH,
Steve Landess
Austin, Texas
(512) 423-0935


----- Original Message -----
From: <>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Sent: Monday, March 01, 2004 5:56 PM
Subject: moving files from PC to the IFS in green screen Application


>
> Assuming I don't have client access for the strpccmd commands is there
a
> way to move files from a users PC to the IFS in a green screen
application?
> Problem is this we have an application where a user/employee fills out
a
> Purchase Request they have some backup documentation( ie, Quotes,
> engineering charts etc) that normally flow along ith the Paper request
> through an approval cycle then the requesti entered and the
documentation
> is filed.
> My problem is this we have moved from a Paper Request to an online(
> greenscreen Process) however now the backup documentation does not
flow
> with the request.  I am currently looking for a way to allow the user
to
> place these documents in the IFS. If I felt comfortable that all of
the PC
> were running client access I could just use strpccmd and start windows
> explorer in a certain directory, then use use IFS api's to move these
to a
> permanent location.
> Is there anyway to accomplish this task within a green screen App?
>
>
>
> J. Scott Carter
> Programmer/Analyst
> e-mail: Mailto:scarter@xxxxxxxxxxx
> Phone: 214.583.0348
>
> "When I die, I want to die like my grandmother who died peacefully  in
her
> sleep.
> Not screaming like all the passengers in her car."
>
>     - Author Unknown
>
>
>
> _______________________________________________
> 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.

This email is for the use of the intended recipient(s) only.  If you have 
received this email in error, please notify the sender immediately and then 
delete it.  If you are not the intended recipient, you must not keep, use, 
disclose, copy or distribute this email without the author's prior permission.  
We have taken precautions to minimize the risk of transmitting software 
viruses, but we advise you to carry out your own virus checks on any attachment 
to this message.  We cannot accept liability for any loss or damage caused by 
software viruses.  The information contained in this communication may be 
confidential and may be subject to the attorney-client privilege.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

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