WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Service fails if FTP plugin fails (Read 4491 times)
Kerry
YaBB Newbies
*
Offline



Posts: 9
Service fails if FTP plugin fails
Feb 1st, 2008 at 5:19pm
 
I'm using WD to watch a directory that has a new file appear at random times. The FTP plugin then FTPs this file to a remote computer. The Internet connection is not stable, and the connection is sometime down. If the FTP plugin trys to send a file while the connection is down, the WD service fails. And, even worse, when the service is restarted and the connection is up the FTP client does not try to send the file that failed, but just starts with with the next file that appears in the directory.
Any way I can get the FTP service to keep try to send files that failed to transfer?
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2239
The Netherlands
Re: Service fails if FTP plugin fails
Reply #1 - Feb 1st, 2008 at 5:35pm
 
Hello Kerry,


If you check the option "fire FILENEW/DIRNEW at startup" on the "other settings page" ( http://www.watchdirectory.net/wdhelp/help/wdnewconfigpage6.html ), watchDirectory will try to upload these files again.

Also, on the normal "Windows Services" applet (on your Windows control panel) you can tell windows what to do when a service stops. For example, restart it. If your task is called HELLO, look for the windows service called "watchDirectory:HELLO").

Hope this helps,
Gert
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Kerry
YaBB Newbies
*
Offline



Posts: 9
Re: Service fails if FTP plugin fails
Reply #2 - Feb 1st, 2008 at 7:05pm
 
Gert - Thank you very much for the fast reply! I will try the FileNew/DirNew setting. I had the 'check for missed events' checked instead.
I've got the service set to auto-restart, so that part is working fine.
Would it be possible for you to modify the plugin so an FTP connection fail didn't cause the service to fail?
Back to top
 
 
IP Logged
 
Kerry
YaBB Newbies
*
Offline



Posts: 9
Re: Service fails if FTP plugin fails
Reply #3 - Feb 6th, 2008 at 10:20pm
 
Gert,
I am having a problem using the FTP plugin with the "fire FILENEW/DIRNEW at startup" setting. Now if the service fails for some reason, the FTP plugin re-sends all of the files it had already sent, as well as the one file that failed.
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2239
The Netherlands
Re: Service fails if FTP plugin fails
Reply #4 - Feb 7th, 2008 at 7:09am
 
Kerry,

Yes, that is correct. I was assuming that you used the option of the FTP plugin to remove (or move) files after they are uploaded.

Gert
Back to top
 

ftp-del.png (2 KB | )
ftp-del.png

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Kerry
YaBB Newbies
*
Offline



Posts: 9
Re: Service fails if FTP plugin fails
Reply #5 - Feb 7th, 2008 at 3:18pm
 
Thank you, I will give the 'move' option a try.
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1