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 and then move it when done. FTP has as
> far as I know no way of locking the file on the server.
> 
> /niklas
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/apache-commons-net-tp17364248p17400637.html
Sent from the Commons - Dev mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 else (i dont have
>> source
>> code).
> 
> You didn't mention what protocol you are using, is it FTP?
> 
> /niklas
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/apache-commons-net-tp17364248p17400551.html
Sent from the Commons - Dev mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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, 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 simple java applicatoion, that uploads a file in a computer
>> server
>> (aix). In the server another process  checks for that file, processes it,
>> and deletes it.
>>
>> Is there any possible way to set a lock in file that will be uploaded,
>> because if the file size is big ex. 200 MB the process on server will
>> delete
>> my file before my application finished uploading.
>>
>> Thnx.
>> --
>> View this message in context:
>> http://www.nabble.com/apache-commons-net-tp17364248p17364248.html
>> Sent from the Commons - Dev mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/apache-commons-net-tp17364248p17398725.html
Sent from the Commons - Dev mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



apache commons net

2008-05-21 Thread bperquku

Hi all,

I have a simple java applicatoion, that uploads a file in a computer server
(aix). In the server another process  checks for that file, processes it,
and deletes it.

Is there any possible way to set a lock in file that will be uploaded,
because if the file size is big ex. 200 MB the process on server will delete
my file before my application finished uploading.

Thnx.
-- 
View this message in context: 
http://www.nabble.com/apache-commons-net-tp17364248p17364248.html
Sent from the Commons - Dev mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]