tabouassaleh / iqbox-ftp

Automatically exported from code.google.com/p/iqbox-ftp
0 stars 0 forks source link

When deleting large folder during a scan, scan goes very slow #31

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a large folder with many subfolders and files (say 20). 
2. Start a manual server scan
3. Delete the large folder
4. Each time a file is scanned, because it doesn't exist, the server will give 
an error. IQBox thinks that this error means that there is a broken connection. 
So, it will try to re-establish the connection, making things very slow for 
each file scan.

What is the expected output? What do you see instead?

Please use labels and text to provide additional information.
2014-05-20 18:17:41 FTP>> Sending 'CWD /this is a test - Copy - Copy (2)'
2014-05-20 18:17:41 FTP >> Error sending. Retrying.
2014-05-20 18:17:41 Traceback (most recent call last):
2014-05-20 18:17:41   File "C:\Users\Simon\Documents\My 
Dropbox\Python\iqbox_google_code\filetransfer_abc.py", line 948, in 
sendFTPcommand
    ret = self.ftp.sendcmd(c)
2014-05-20 18:17:41   File "C:\Users\Simon\Documents\My 
Dropbox\Python\iqbox_google_code\ftplib_iqb.py", line 264, in sendcmd
    return self.getresp()
2014-05-20 18:17:41   File "C:\Users\Simon\Documents\My 
Dropbox\Python\iqbox_google_code\ftplib_iqb.py", line 239, in getresp
    raise error_perm, resp
2014-05-20 18:17:41 error_perm: 550 /this is a test - Copy - Copy (2): No such 
file or directory.
2014-05-20 18:17:41 FTP>> Testing connection via SYST command...
2014-05-20 18:17:41 FTP>> Basic connection test passed, got: 215 UNIX Type: L8
2014-05-20 18:17:41 FTP>> Sending 'CWD /this is a test - Copy - Copy (2)'
2014-05-20 18:17:41 FTP >> Error sending. Retrying.
2014-05-20 18:17:41 Traceback (most recent call last):
2014-05-20 18:17:41   File "C:\Users\Simon\Documents\My 
Dropbox\Python\iqbox_google_code\filetransfer_abc.py", line 948, in 
sendFTPcommand
    ret = self.ftp.sendcmd(c)
2014-05-20 18:17:41   File "C:\Users\Simon\Documents\My 
Dropbox\Python\iqbox_google_code\ftplib_iqb.py", line 264, in sendcmd
    return self.getresp()
2014-05-20 18:17:41   File "C:\Users\Simon\Documents\My 
Dropbox\Python\iqbox_google_code\ftplib_iqb.py", line 239, in getresp
    raise error_perm, resp
2014-05-20 18:17:41 error_perm: 550 /this is a test - Copy - Copy (2): No such 
file or directory.
2014-05-20 18:17:41 FTP>> Testing connection via SYST command...
2014-05-20 18:17:41 FTP>> Basic connection test passed, got: 215 UNIX Type: L8
2014-05-20 18:17:41 FTP>> Sending 'CWD /this is a test - Copy - Copy (2)'
2014-05-20 18:17:41 GUI>> Files changed
2014-05-20 18:17:41 FTP >> Error sending. Retrying.
2014-05-20 18:17:41 Traceback (most recent call last):
2014-05-20 18:17:41   File "C:\Users\Simon\Documents\My 
Dropbox\Python\iqbox_google_code\filetransfer_abc.py", line 948, in 
sendFTPcommand
    ret = self.ftp.sendcmd(c)
2014-05-20 18:17:41   File "C:\Users\Simon\Documents\My 
Dropbox\Python\iqbox_google_code\ftplib_iqb.py", line 264, in sendcmd
    return self.getresp()
2014-05-20 18:17:41   File "C:\Users\Simon\Documents\My 
Dropbox\Python\iqbox_google_code\ftplib_iqb.py", line 239, in getresp
    raise error_perm, resp
2014-05-20 18:17:41 error_perm: 550 /this is a test - Copy - Copy (2): No such 
file or directory.
2014-05-20 18:17:41 FTP>> Testing connection via SYST command...
2014-05-20 18:17:41 FTP>> Basic connection test passed, got: 215 UNIX Type: L8
2014-05-20 18:17:41 FTP>> Sending 'CWD /this is a test - Copy - Copy (2)'

Original issue reported on code.google.com by simonis2...@gmail.com on 20 May 2014 at 6:23