hiteksoftware.com Forum Index hiteksoftware.com
User discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SFtp Task Scheduler not just delete source file after transf

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> FTP & SFTP
View previous topic :: View next topic  
Author Message
ptsk



Joined: 25 Jan 2008
Posts: 1

PostPosted: Fri Jan 25, 2008 6:42 am    Post subject: SFtp Task Scheduler not just delete source file after transf Reply with quote

Sirs,

I tried using JaSFtp on RedHat 5 and create SFtp task scheduler with the following setting:

Ftp option: Get files
Remote Dir : /home/user/remote
Local Dir : /home/user/local

Backup local/remote/use staging: all blank

Filename : *
Folder Filter : blank

Delete source file after transfer : (check)

I was quite wondering first, The scheduler can transfer the file from remote to local, but after that it NOT JUST delete the remote folder file, but also delete the local file(s), so it end up both remote and local folder got deleted.

After I read some posts on "Scheduler" forum, the problem solved with setting the "Synchronization option to: No overlapping task instances, No instances wait and slower the scheduler to run every 1 minute. The caused of the problem is I set the scheduler time too fast i.e: 1 second and didn't set the initial setup of synchronization options.

You have a great software, but it will be dangerous if both local and remote files got deleted because of scheduler time overlap. Why don't you set No overlapping task instances as the default ? Especially for new user might not realize that there is an synchronization option to set to make it work properly.

Thanks

SK.
Back to top
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Fri Jan 25, 2008 4:40 pm    Post subject: Reply with quote

There is no setting and option in the task to delete the target file.

Only the source file can be deleted after successfull transfer.

I am guessing that the 1 second schedule you used, caused this issue in some manner.

Connection itself takes longer, so you should try scheduling every 15 seconds at the earliest.

This issue has not been reported before. I have added to our wishlist to look into setting the option to prevent overlapping schedules as the default.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> FTP & SFTP All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group