|
Oooopppps off on a tangent - sorry, as others have already said, the 'APpend' ftp subcommand should be used instead of 'put' --phil Phil Hall wrote: > > Gerald, > > > I am in need of a way to append (add more current data) to a pc file > > on our server. I can ftp from the AS/400 and replace the file, or I > > can have the ftp on the 400 give the pc file a new file name, > > I am hoping there is a way to append to the PC file through the > > AS400, otherwise I will need a program on another PC that will do > > the appending. > > This is really a problem with the ftp client you're using on the PC. > > Most ftp clients (including the ftp client on the AS/400) buffer the incomming > data from the source file into target file. If the connection is lost, the >data > buffred is too. > > There are ftp clients, that flush the data out to the target file on each read > of the source file data. If the download fails, re-ftping the file will > normally continue the download from the point of failure (ie the cleint will > ignore the data upto the data already transfered) and thus allow you to > 'append' the rest of the data. > > I can't think of one off hand (other than the in-built ftp client in IE4.x), > but a look at the shareware site www.winfiles.com may turn up one. > > One thing to watch out for is if the ftp client detects a change in the 'date > last modifed', because this may cause a complete re-download of the whole >file. > > Sorry I couldn't give you the name of a better ftp client, > > --phil > > -- > Phil Hall > ________________________________________________ > > email . . . . : hallp@ssax.com > phone(w). . . : (312) 258-6319 > > News/400 C/C++ Forum moderator at; > http://www.news400.com/c/index.htm > ________________________________________________ -- Phil Hall ________________________________________________ email . . . . : hallp@ssax.com phone(w). . . : (312) 258-6319 News/400 C/C++ Forum moderator at; http://www.news400.com/c/index.htm ________________________________________________
- Subject: Re: FTP from AS/400, appending to a pc file.
- From: Phil Hall <hallp@xxxxxxxx>
- Date: Wed, 01 Jul 1998 12:48:12 -0500
- Organization: SSA
Gerald, > I am in need of a way to append (add more current data) to a pc file > on our server. I can ftp from the AS/400 and replace the file, or I > can have the ftp on the 400 give the pc file a new file name, > I am hoping there is a way to append to the PC file through the > AS400, otherwise I will need a program on another PC that will do > the appending. This is really a problem with the ftp client you're using on the PC. Most ftp clients (including the ftp client on the AS/400) buffer the incomming data from the source file into target file. If the connection is lost, the data buffred is too. There are ftp clients, that flush the data out to the target file on each read of the source file data. If the download fails, re-ftping the file will normally continue the download from the point of failure (ie the cleint will ignore the data upto the data already transfered) and thus allow you to 'append' the rest of the data. I can't think of one off hand (other than the in-built ftp client in IE4.x), but a look at the shareware site www.winfiles.com may turn up one. One thing to watch out for is if the ftp client detects a change in the 'date last modifed', because this may cause a complete re-download of the whole file. Sorry I couldn't give you the name of a better ftp client, --phil -- Phil Hall ________________________________________________ email . . . . : hallp@ssax.com phone(w). . . : (312) 258-6319 News/400 C/C++ Forum moderator at; http://www.news400.com/c/index.htm ________________________________________________
As an Amazon Associate we earn from qualifying purchases.
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.