Discuss (FTP) and (SFTP, FTPS and SCP), our Java file transfer clients.

Can't access file

no avatar
User

waarlockk

Posts

2

Joined

Thu May 17, 2012 8:22 pm

Can't access file

by waarlockk » Thu May 17, 2012 8:27 pm

I am writing an android application that automatically uploads sounds to provided FTP server.
It needs to have to have resume capability to avoid retransmission of already transmitted data so I've used the "Writemode.RESUME" . [using java FTP client]

my problem is that if network connection goes off in mid transmission then on each retry to resume the upload it throws error error like "Can't access file, its being in use by other process"!!

Need help...Urgent.....Thanks[/b]
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Can't access file

by support2 » Thu May 17, 2012 9:14 pm

It sounds like that error message is coming from the server. There's probably a timeout period that applies - after a certain amount of time the server will free resources held by connections that timeout. So you may need to wait until that period expires before resuming. Might help to post the log file at DEBUG level.
no avatar
User

waarlockk

Posts

2

Joined

Thu May 17, 2012 8:22 pm

Gotcha!!

by waarlockk » Fri May 18, 2012 4:56 pm


Who is online

Users browsing this forum: Google [Bot] and 113 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron