I've used the java SAMBA port (
http://jcifs.samba.org/) quite
effectively in java running on i to fetch files from windows network
file shares. QNTC just doesn't work well. FTP has alway just seemed
clunky as it involves setting up an FTP server on the PC's with
permissions and all that stuff.
With a samba setup, your code on the i just needs to know the share path
and store a user id and password appropriate for the windows
environment.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Tomasz Skorza
Sent: Wednesday, November 18, 2009 3:54 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Which technique you propose for downloading file from PC to AS
Hi guys
which solution you will propose for such issue:
I have four PC in four location where production programs creating a
import files (txt). The name for each file is diffrent because contain
the timestamp.
Now we have java programs (on four other PC) which looking if new files
exist on production PC and then upload it to AS400. But this is
complicated and not certainly solution.
So now we thinking about some tool which will be run on AS400 and will
check directly production PC's and download this import files.
But how to do it? By ftp? What do you propose?
--
Pozdrawiam
Tomek
--
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.