Re: apache commons net

2008-05-22 Thread James Carman
Yes, I'd use another directory. So, during upload, you upload it to the "uploading" directory. When it's done uploading, move it to the "inbox" directory. On Thu, May 22, 2008 at 5:26 AM, Niklas Gustavsson <[EMAIL PROTECTED]> wrote: > On Thu, May 22, 2008 at 11:22 AM, bperquku <[EMAIL PROTECTED]

Re: apache commons net

2008-05-22 Thread bperquku
Thank you very much. Niklas Gustavsson wrote: > > On Thu, May 22, 2008 at 11:22 AM, bperquku <[EMAIL PROTECTED]> wrote: >> Yes, it is FTP (ftp service runing under AIX is called proftpd). > > Then you'll have to do what James described. Either upload the file to > a different directory or name

Re: apache commons net

2008-05-22 Thread Niklas Gustavsson
On Thu, May 22, 2008 at 11:22 AM, bperquku <[EMAIL PROTECTED]> wrote: > Yes, it is FTP (ftp service runing under AIX is called proftpd). Then you'll have to do what James described. Either upload the file to a different directory or name and then move it when done. FTP has as far as I know no way

Re: apache commons net

2008-05-22 Thread bperquku
Yes, it is FTP (ftp service runing under AIX is called proftpd). Niklas Gustavsson wrote: > > On Thu, May 22, 2008 at 9:18 AM, bperquku <[EMAIL PROTECTED]> wrote: >> >> Actually, name of the file is not relevant. The server process check for >> files (not for names) and is implemented by someone

Re: apache commons net

2008-05-22 Thread Niklas Gustavsson
On Thu, May 22, 2008 at 9:18 AM, bperquku <[EMAIL PROTECTED]> wrote: > > Actually, name of the file is not relevant. The server process check for > files (not for names) and is implemented by someone else (i dont have source > code). You didn't mention what protocol you are using, is it FTP? /nik

Re: apache commons net

2008-05-22 Thread bperquku
Actually, name of the file is not relevant. The server process check for files (not for names) and is implemented by someone else (i dont have source code). jwcarman wrote: > > Name it something different during upload. When it's finished, do a > rename. For instance, while you're uploading, n

Re: apache commons net

2008-05-21 Thread James Carman
Name it something different during upload. When it's finished, do a rename. For instance, while you're uploading, name the file myfile.uploading and then when it's done, just rename it to myfile. On Wed, May 21, 2008 at 9:57 AM, bperquku <[EMAIL PROTECTED]> wrote: > > Hi all, > > I have a simpl