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
FTP Plugin - executes delete before upload? (Read 2367 times)
m.feldspar
YaBB Newbies
*
Offline



Posts: 9
FTP Plugin - executes delete before upload?
Aug 28th, 2014 at 3:22pm
 
I am using the ftp plugin to upload files to a customer's ftp site. Client says "...when transferring files to us, tries to delete the file on our side before sending it. I'm sure that they're doing it to make sure that they don't overwrite a file. Can we ask them if that's really necessary..."

When I looked at history i see this:

2014-08-26 14:06:16.025;D;Attempt to connect;FtpConnection.cpp (320);
2014-08-26 14:06:16.026;I;     STATECHANGE: Connecting to server;wodFtpNotify.cpp (53);
2014-08-26 14:06:17.000;I;     STATECHANGE: Sending authentication data;wodFtpNotify.cpp (53);
2014-08-26 14:06:17.001;I;     STATECHANGE: Connected to server - idle;wodFtpNotify.cpp (53);
2014-08-26 14:06:17.002;I;     CONNECTED;wodFtpNotify.cpp (53);
2014-08-26 14:06:17.003;I;Connected;FtpConnection.cpp (323);
[/color]
2014-08-26 14:06:17.004;D;connect done;FtpConnection.cpp (477);
[color=#ff0000]2014-08-26 14:06:17.005;D;removing file from ftp.;FtpConnection.cpp (483);

2014-08-26 14:06:17.006;I;     STATECHANGE: Removing file or directory;wodFtpNotify.cpp (53);
2014-08-26 14:06:17.007;I;     STATECHANGE: Connected to server - idle;wodFtpNotify.cpp (53);
2014-08-26 14:06:17.008;I;     DONE, Error=30031 (
Server returned an error: No such file or folder
);wodFtpNotify.cpp (48);
2014-08-26 14:06:17.009;D;before putfile;FtpConnection.cpp (497);
2014-08-26 14:06:17.010;I;     STATECHANGE: Sending data to server;wodFtpNotify.cpp (53);
2014-08-26 14:06:17.011;I;     PROGRESS 0/26714 bytes (0%);wodFtpNotify.cpp (53);
2014-08-26 14:06:17.012;I;     PROGRESS 26714/26714 bytes (100%);wodFtpNotify.cpp (53);
2014-08-26 14:06:17.013;I;     STATECHANGE: Connected to server - idle;wodFtpNotify.cpp (53);
2014-08-26 14:06:17.014;I;     DONE;wodFtpNotify.cpp (53);
2014-08-26 14:06:17.015;D;after putfile;FtpConnection.cpp (499);
2014-08-26 14:06:17.016;D;     after putfile;wdopAutoFtp.cpp (851);
2014-08-26 14:06:17.017;I;     File uploaded as /Incoming/DIP/OBQSingleFile/400000047.ZIP;wdopAutoFtp.cpp (857);


Why this is an issue I have no idea but is there anyway to suppress the attempted delete?
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2233
The Netherlands
Re: FTP Plugin - executes delete before upload?
Reply #1 - Aug 29th, 2014 at 8:15am
 
Currently you can not prevent this behavior.

WD needs to work with a lot of different types of FTP servers, we found that deleting the file before uploading the file is the best way to prevent certain issues.
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
 
Page Index Toggle Pages: 1