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



Shane,

Google 'java file upload'.  You can have the user upload those files
through a web page (i.e. hotmail attachment).  Then you can place them
wherever you need to.

p.s. As a general guideline don't develop a web solution that relies on the
user having some software installed on their PC.  It defeats the purpose of
having a web app.


HTH,
Jim.


                                                                           
             Shane_Cessna@nal.                                             
             com                                                           
             Sent by:                                                   To 
             java400-l-bounces         Java Programming on and around the  
             @midrange.com             iSeries / AS400                     
                                       <java400-l@xxxxxxxxxxxx>            
                                                                        cc 
             26/07/2005 12:33                                              
             PM                                                    Subject 
                                       Re: Antwort: RE: connecting to PC   
                                       with IP Address...                  
             Please respond to                                             
             Java Programming                                              
             on and around the                                             
              iSeries / AS400                                              
             <java400-l@midran                                             
                  ge.com>                                                  
                                                                           
                                                                           




OK, here's my situation...I'm getting ready to roll out an electronic
requisition system...for each individual requsition there are attachments
that go along with that...these can range from pictures to word documents
to excel spreadsheets, etc...what happens is whenever a new req is
created, I create a new folder on the IFS with the req number as the
folder name (ex. 105373)...I have an option on the main menu of the
application to view all attachments for a req number...

what I'd like to do is open up windows explorer and have it default to
that location on the IFS...for example running the DOS command on a user's
PC like so:
explorer.exe \\nal820.flora.nal.com\eReqs\attachments\105373\

this application will be accessed via webfacing...and webfacing doesn't
like the STRPCO and STRPCCMD commands in a CL...so,  I think I'm forced to
write Java programs that go around these limitations.  If i'm wrong,
please tell me...otherwise, I'd appreciate all your help in this matter...

Also, I'm a noob at Java so, any tips would be welcome...

Thanks for being patient guys...i really appreciate it...

Shane Cessna
iSeries Programmer
iSeries WAS Administrator
North American Lighting, Inc.
(618) 662-4483 x2776
shane_cessna@xxxxxxx
-- A program is never finished until the programmer dies.



ralf.petter@xxxxxxxxxxx
Sent by: java400-l-bounces@xxxxxxxxxxxx
07/26/2005 11:18 AM
Please respond to
Java Programming on and around the iSeries / AS400
<java400-l@xxxxxxxxxxxx>


To
Java Programming on and around the iSeries / AS400
<java400-l@xxxxxxxxxxxx>
cc

Subject
Antwort: RE: connecting to PC with IP Address...






Hi!

Can you explain what you want to do? Maybe there is a much easier way to
start something on a remote PC then the already discussed solutions. Do
you want to open a file like a word document or an excel spreadsheet? So
please post what you need an i am sure i can help you.

Greetings

Artweger GmbH. & Co.


Ralf M Petter





Shane_Cessna@xxxxxxx
Gesendet von: java400-l-bounces@xxxxxxxxxxxx
26.07.2005 18:11
Bitte antworten an
Java Programming on and around the iSeries / AS400
<java400-l@xxxxxxxxxxxx>


An
Java Programming on and around the iSeries / AS400
<java400-l@xxxxxxxxxxxx>
Kopie

Thema
RE: connecting to PC with IP Address...






I'm not exactly sure which route to take...I've tried the RUNRMTCMD with
the PCs IP Address but it fails with CPE3425...

also, just as a side note, every PC in the company is going to have to
have access to this option...anyone who signs on to the webfaced
application will have to be able to open up a specified folder on the
IFS...

I guess I'm gonna have to go the sockets route...sounds like fun to me...

Shane Cessna
iSeries Programmer
iSeries WAS Administrator
North American Lighting, Inc.
(618) 662-4483 x2776
shane_cessna@xxxxxxx
-- A program is never finished until the programmer dies.



"albartell" <albartell@xxxxxxxxx>
Sent by: java400-l-bounces@xxxxxxxxxxxx
07/26/2005 09:38 AM
Please respond to
Java Programming on and around the iSeries / AS400
<java400-l@xxxxxxxxxxxx>


To
"'Java Programming on and around the iSeries / AS400'"
<java400-l@xxxxxxxxxxxx>
cc

Subject
RE: connecting to PC with IP Address...






And if you wanted to take out all of the learning curve of doing raw
sockets
(and all the "fun" that comes with it) you could just install a stripped
down version of Tomcat on the PC. That way all you would need to do is
write
a regular old servlet that would listen for requests.

Tomcat may be overkill for your situation though so make sure there is a
good enough reason to load it.

Speaking of your situation, I have always wondered how technologies like
GoToMyPc.com and MyWebExPc.com work?  I know they are running a Java
client
that some how broadcasts its IP address to a main server which then allows
me to connect to my home PC from where ever I am.

Aaron Bartell

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of David Gibbs
Sent: Tuesday, July 26, 2005 8:34 AM
To: java400-l@xxxxxxxxxxxx
Subject: Re: connecting to PC with IP Address...

Shane_Cessna@xxxxxxx wrote:
> thanks for the replys guys...however, this is going to be for a
> webfaced application and I can't run a STRPCO or STRPCCMD from an
> interactive webfaced session...

If you know the IP of the PC invoking the application, you should be able
to
execute a RUNRMTCMD.

> David, what do you mean by "write a server"...meaning create a server
> object?...

Well, kind of.  I'm specifically talking about writing a server PROGRAM
that runs on the PC you want your application to talk to.   Assuming
it's written in Java (this is the Java 400 list), that program would
create
a ServerSocket object and listen for a connection.

david

--
David Gibbs
david@xxxxxxxxxxxx

Receipt of this message does not grant you permission to send me
Unsolicited
Commercial Email

--
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/java400-l.

--
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)


mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.


--
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)

mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.


--
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.


--
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-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-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.