Page 1 of 1

Connection reset by peer

Posted: 07 Nov 2007, 08:29
by moody
Hi,

I have a problem with both, AP Backup and Save2FTP because they both do the same thing. I would set a task to upload a 200mb file to my ftp server over the internet. Then after some time, it would stop and give an error.

Now when it stops is always random, sometimes it would stop after sending 30mb or 60mb or 80mb of the file. But it never completes and just stops. This happens to both, AP Backup and Save2ftp. They used to work before but the server crashed and my hosting company redid the servers and now it doesn’t work anymore. But the hosting company says nothing is wrong on their end.

Regular FTP works just fine and I can upload these large files using an ftp program. But when I use AP Backup or Save2ftp, they each give that error. It’s weird because it obviously connects and starts sending the file and just stops like 40% through. I’ve also tried passive mode and still the same error.

I have included the log and error for both programs.


*****----- Save2FTP log (regular mode)---------*****

11.6.2007 1:27:30 PM:[1001] Task started
11.6.2007 1:27:30 PM:[1001] The archiving will be executed - files for archiving are available
11.6.2007 1:27:30 PM:[1001] Copying has started to FTP: "72.29.73.71"
11.6.2007 1:27:31 PM:[1001] Successfully connected
11.6.2007 1:27:31 PM:[1001] Successful change of directory: public_html/backup
11.6.2007 1:43:27 PM:[1001] Connecting to port 2689
11.6.2007 1:43:27 PM:[1001][E] Unable to copy file to FTP: "72.29.73.71" [Socket Error # 10054Connection reset by peer.]

Save2FTP NOTIFICATION:11.6.2007 1:43:28 PM:[1001][E] Unexpected error. Either source or archive folders are invalid[Unable to copy file to FTP: "72.29.73.71" [Socket Error # 10054Connection reset by peer.]]


*****----- Another Save2FTP log (passive Mode)---------*****

11.7.2007 3:11:59 AM:[1001][E] Unexpected error. Either source or archive folders are invalid[Unable to copy file to FTP: "72.29.73.71" [Socket Error # 10054Connection reset by peer.]]
11.7.2007 3:11:59 AM:[1001][E] Unable to copy file to FTP: "72.29.73.71" [Socket Error # 10054Connection reset by peer.]
11.7.2007 3:11:59 AM:[1001] Accepted data connection
11.7.2007 3:01:31 AM:[1001] Successful change of directory: public_html/backup
11.7.2007 3:01:30 AM:[1001] Successfully connected
11.7.2007 3:01:30 AM:[1001] Copying has started to FTP: "72.29.73.71"
11.7.2007 3:01:30 AM:[1001][I] The archiving will be executed - files for archiving are available
11.7.2007 3:01:30 AM:[1001][I] Task started


****---- AP Backup Log ------*******

10/15/2007 9:30:00 PM:[1002][I] Task started
10/15/2007 9:36:53 PM:[1002][I] The archiving will be executed - files for archiving are available
10/15/2007 9:36:53 PM:[1002][I] Copying has started to FTP: "72.29.73.71"
10/15/2007 9:36:54 PM:[1002][I] Successfully connected
10/15/2007 9:36:54 PM:[1002][I] Successful change of directory: public_html/backup
10/15/2007 9:36:54 PM:[1002][I] Current folder: C:\backup\zip\
10/15/2007 9:46:40 PM:[1002][E] Unable to copy file to FTP: "72.29.73.71" [Socket Error # 10054Connection reset by peer.]

APBACKUP NOTIFICATION:10/15/2007 9:46:40 PM:[1002][E] Unexpected error. Either source or archive folders are invalid[Unable to copy file to FTP: "72.29.73.71" [Socket Error # 10054Connection reset by peer.]]


Thank you for any help you can give,
Mike

Posted: 07 Nov 2007, 20:59
by support
Obviously you have a firewall in the way.
Try to examine this article:
http://www.ncftp.com/ncftpd/doc/misc/ft ... walls.html
Also try to archive all files to one ZIP file and then transfer it ti FTP server.