users
[Top] [All Lists]

RE: [cinjug-users] FTP

To: "CinJUG (E-mail)" <users@xxxxxxxxxx>
Subject: RE: [cinjug-users] FTP
From: "Chip Dunning" <cdunning@xxxxxxxxxxxx>
Date: Fri, 9 Jul 2004 15:16:09 -0400
Delivered-to: mailing list users@cinjug.org
Mailing-list: contact users-help@cinjug.org; run by ezmlm
Thread-index: AcRlyHBQIq8QaPhiRHiGmUoCkgMEhAAAuF7gAAbpEdA=
Thread-topic: [cinjug-users] FTP
I googled for AFD and came up with Automatic File Distributation as the closest 
match (author Holger Kiehl). I believe this is the package you are talking 
about. Since you have been using it I have some questions.

We have need to push files out to about 100 different sites - with more added 
weekly (one locally the rest remote). However, not every site gets all of the 
files. The files will be pulled from a Master directory structure and put unto 
a subset mirror on the client.

(1) Can the AFD take programmatic commands from another piece of software as to 
building its ftp queue - or can it dig through a SQL Server database using set 
SPs to find the list of files to send?


If I am to get something like this in-house my WP must be bullet-proof since I 
work in a very non-MS hostile environment (we use .NET, SQL Server, IIS, etc.) 
with both the Project Leader and Director of IT being very pro-MS.


Chip
-----
"The reason the mainstream is thought of as a stream is because it's so 
shallow" --George Carlin
 

-----Original Message-----
From: Robert Casto [mailto:robert@xxxxxxxxxxxxx]
Sent: Friday, July 09, 2004 2:27 PM
To: Chip Dunning; 'CinJUG (E-mail)'
Subject: RE: [cinjug-users] FTP


I use AFD which is written by a friend of my boss. The software has lots of
options, is based on Linux, and can handle lots of failures. We use it to
transfer collected data back to our server. When the connection is broken,
the data stays at the monitor machine until it can be delivered. The file is
transferred using a '.' in front of the name and then is renamed once it is
all there. That way our system won't touch it until it is truly there and
ready to go.

I have had times when the connection was down because of networking people
doing troubleshooting for 3 days. Once the connection comes back, the data
starts flowing again. Errors are logged and the file is retried. I find it
much more reliable than anything I could come up with in Java. You can even
set up the program to archive all the data it is sending for a number of
days. This is handy for times when the server machine has problems and the
data needs to be resent so it can be imported into a database.

Robert Casto
President - CinciJava LLC
Phone: 513-755-2221
FAX: 831-307-7638
robert@xxxxxxxxxxxxx

 

 


-----Original Message-----
From: Chip Dunning [mailto:cdunning@xxxxxxxxxxxx] 
Sent: Friday, July 09, 2004 11:22 AM
To: CinJUG (E-mail)
Subject: [cinjug-users] FTP

On a related message to the previous one about using a less that reliable
FTP connection - does anyone else have problems with slow or balky FTP
connections using Java.

We have an application that FTPs files to various clients (MPG/WMV about
2-5m files). When the Java application begins FTPing the file I can startup
a Command Prompt, FTP the same file to the same client, then FTP two more
files before the Java version completes sending the first file. It also
seems far more likely to timeout during the FTP process.
        I know its not the multiple sends, because the time is consistent
when it is just ftping the file with no other interference.

Any ideas?


Chip
-----
"The reason the mainstream is thought of as a stream is because it's so
shallow" --George Carlin
 

---------
You may unsubscribe from this mailing list
by sending a blank email addressed to:
users-unsubscribe@xxxxxxxxxx

--
Find additional help by sending a blank email
addressed to:
users-help@xxxxxxxxxx




---------
You may unsubscribe from this mailing list
by sending a blank email addressed to:
users-unsubscribe@xxxxxxxxxx

--
Find additional help by sending a blank email
addressed to:
users-help@xxxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>