Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 53585 invoked from network); 16 Sep 2005 04:00:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Sep 2005 04:00:05 -0000 Received: (qmail 71261 invoked by uid 500); 16 Sep 2005 04:00:00 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 71249 invoked by uid 500); 16 Sep 2005 04:00:00 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 71235 invoked by uid 99); 16 Sep 2005 04:00:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2005 21:00:00 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [216.139.141.2] (HELO bsd4.nyct.net) (216.139.141.2) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2005 21:00:09 -0700 Received: from [10.0.1.3] (66-234-44-249.nyc.cable.nyct.net [66.234.44.249]) by bsd4.nyct.net (8.13.1/8.13.1) with ESMTP id j8G3xmGl000562 for ; Thu, 15 Sep 2005 23:59:55 -0400 (EDT) (envelope-from nice@email.dk) Message-ID: <432A4333.4040609@email.dk> Date: Thu, 15 Sep 2005 23:59:47 -0400 From: =?ISO-8859-1?Q?Jens_Sch=F8dt?= User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jakarta Commons Users List Subject: [VFS] FileSelector References: <20050905193537.M84500@email.dk> <431CB2C8.6000408@ops.co.at> In-Reply-To: <431CB2C8.6000408@ops.co.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi there, Two questions: 1. In my FileSelector imp. i check for new files in a dir to upload to a server. If there are no new files (boolean includeFile returns false every time) the connection id still made to the server? Is that nessesary? 2. Now... when my app is running and i put a new file in the dir that is being checked, it seems like the new file is ignored. boolean includeFile is not called with the new file? In the check loop i even make new: FileSystemOptions opts = new FileSystemOptions(); FileSystemManager fsManager = VFS.getManager(); fileOUT = fsManager.resolveFile(backupFolderPath, opts); but no new file is read. Is there some cache that I need to delete first? regards Jens --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org