Discuss (FTP), (FTP on .NET CF) and (FTPS, SFTP and SCP).
no avatar
User

bob43065

Posts

5

Joined

Fri Apr 29, 2011 4:38 am

Location

US

File permission problem after starting a new session

by bob43065 » Fri May 06, 2011 5:56 am

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: File permission problem after starting a new session

by support2 » Fri May 06, 2011 7:39 am

Have you tried disconnecting and reconnecting?
no avatar
User

bob43065

Posts

5

Joined

Fri Apr 29, 2011 4:38 am

Location

US

Re: File permission problem after starting a new session

by bob43065 » Sat May 07, 2011 5:32 am

Support2,

Thanks for your response.

Yes, I did. But, once reconnected, I got 550 error (file is being held by another process). This might be because it's a Windows server.

I tried to put FTP thread to sleep for certain time and then reconnect. Even a 10 minutes long wait is NOT enough. But if reconnecting after 15 minutes, the file is accessible again.

15 minute wait is too long, though transfer resuming does work after getting reconnected.

Is there anything we can do from client side?


Bob
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: File permission problem after starting a new session

by support2 » Sat May 07, 2011 7:48 am

It looks like there is a timeout on the server side for releasing file locks. I don't think you can do much about it, other than contacting your server's support contact and asking if there is a way around this.

Who is online

Users browsing this forum: No registered users and 23 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron