Page 1 of 1

won't copy empty folders

Posted: 10 Jan 2008, 20:22
by advantage1web
I am using Save2FTP.

We are having a problem where the ftp stops and gets an error if it encounters an empty folder to copy? The error says something about an invalide source or destination file.

Is this a known issue?

Thanks for your help.

Best Regards,
Rodney

Posted: 11 Jan 2008, 11:12
by support
Yes before the task running program check source folder if no source files are found Save2FTP puts error message in the log because in this case the task can't start.

Posted: 11 Jan 2008, 15:47
by advantage1web
I'm not sure if I understand your reply.

We are trying to copy up a folder full of data. In the folder are files and subfolders. Some of the subfolders contain no files.

Every time we try to ftp up the folder it copies things fine until it comes to one of the subfolders with no files in it. Then it gives us the error "invalid source or destination file".

How do we over come this? Or will it always stop if it encounters a folder with no files in it?

Thanks for your help.

Best Regards,
Rodney

Posted: 15 Jan 2008, 14:37
by support
I've just tested this issue and can't repeat this. Save2FTP doesn't stop on empty folders maybe this is not the reason. Could you send Save2ftp.log file and if it is possible part of FTP server log with time near to when error occures to support@avpsoft.com. And make sure you have last version of Save2Ftp installed

Thanks

Posted: 25 Jan 2008, 20:00
by patrickchughes
1.18.2008 1:02:38 PM:[1001] The task is changed
1.18.2008 1:04:20 PM:[1001] Task started
1.18.2008 1:04:20 PM:[1001] The archiving will be executed - files for archiving are available
1.18.2008 1:04:20 PM:[1001] Copying has started to FTP: "70.84.201.130"
1.18.2008 1:04:26 PM:[1001] Successfully connected
1.18.2008 1:04:27 PM:[1001] Successful change of directory: backup
1.18.2008 1:06:48 PM:[1001] OK. Current directory is /backup/Backup Dan080118/Server
1.18.2008 1:06:48 PM:[1001][E] Unable to copy file to FTP: "70.84.201.130" [File successfully transferred]
1.18.2008 1:06:48 PM:[1001][E] Unexpected error. Either source or archive folders are invalid[Unable to copy file to FTP: "70.84.201.130" [File successfully transferred]]
1.18.2008 1:39:11 PM:[1001] Task started
1.18.2008 1:39:11 PM:[1001] The archiving will be executed - files for archiving are available
1.18.2008 1:39:11 PM:[1001] Copying has started to FTP: "70.84.201.130"
1.18.2008 1:39:16 PM:[1001][I] Successfully connected
1.18.2008 1:39:16 PM:[1001][I] Successful change of directory: backup
1.18.2008 1:46:12 PM:[1001][I] Connecting to port 5148
1.18.2008 1:46:12 PM:[1001][E] Unable to copy file to FTP: "70.84.201.130" [Çàäàíèå ïðåðâàíî ïîëüçîâàòåëåì]
1.18.2008 1:46:12 PM:[1001][W] The task has been aborted
1.18.2008 1:46:48 PM:[1001][I] The task is changed
1.21.2008 2:00:00 AM:[1001][I] Task started
1.21.2008 2:00:00 AM:[1001][I] The archiving will be executed - files for archiving are available
1.21.2008 2:00:00 AM:[1001][I] Copying has started to FTP: "70.84.201.130"
1.21.2008 2:00:03 AM:[1001][I] Successfully connected
1.21.2008 2:00:05 AM:[1001][I] Successful change of directory: backup
1.21.2008 2:00:42 AM:[1001][I] OK. Current directory is /backup/Backup Dan080121
1.21.2008 2:00:42 AM:[1001][E] Unable to copy file to FTP: "70.84.201.130" [Unknown command]
1.21.2008 2:00:42 AM:[1001][E] Unexpected error. Either source or archive folders are invalid[Unable to copy file to FTP: "70.84.201.130" [Unknown command]]
1.21.2008 2:00:42 AM:[1001][I] The task will be executed again in 10 minutes
1.21.2008 2:10:00 AM:[1001][I] Task started
1.21.2008 2:10:00 AM:[1001][I] The archiving will be executed - files for archiving are available
1.21.2008 2:10:00 AM:[1001][I] Copying has started to FTP: "70.84.201.130"
1.21.2008 2:10:02 AM:[1001][I] Successfully connected
1.21.2008 2:10:03 AM:[1001][I] Successful change of directory: backup
1.21.2008 2:42:32 AM:[1001][I] Connecting to port 5140
1.21.2008 2:42:32 AM:[1001][E] Unable to copy file to FTP: "70.84.201.130" [Socket Error # 10054Connection reset by peer.]
1.21.2008 2:42:32 AM:[1001][E] Unexpected error. Either source or archive folders are invalid[Unable to copy file to FTP: "70.84.201.130" [Socket Error # 10054Connection reset by peer.]]
1.21.2008 2:42:32 AM:[1001][I] The task will be executed again in 10 minutes
1.21.2008 2:42:33 AM:[1001][I] Task started
1.21.2008 2:42:33 AM:[1001][I] The archiving will be executed - files for archiving are available
1.21.2008 2:42:33 AM:[1001][I] Copying has started to FTP: "70.84.201.130"
1.21.2008 2:42:35 AM:[1001][I] Successfully connected
1.21.2008 2:42:37 AM:[1001][I] Successful change of directory: backup
1.21.2008 3:08:01 AM:[1001][I] Connecting to port 5178
1.21.2008 3:08:01 AM:[1001][E] Unable to copy file to FTP: "70.84.201.130" [Socket Error # 10054Connection reset by peer.]
1.21.2008 3:08:01 AM:[1001][E] Unexpected error. Either source or archive folders are invalid[Unable to copy file to FTP: "70.84.201.130" [Socket Error # 10054Connection reset by peer.]]
1.21.2008 3:08:01 AM:[1001][I] The task will be executed again in 10 minutes
1.21.2008 3:08:01 AM:[1001][I] Task started
1.21.2008 3:08:01 AM:[1001][I] The archiving will be executed - files for archiving are available
1.21.2008 3:08:01 AM:[1001][I] Copying has started to FTP: "70.84.201.130"
1.21.2008 3:08:02 AM:[1001][I] Successfully connected
1.21.2008 3:08:02 AM:[1001][I] Successful change of directory: backup
1.21.2008 3:08:29 AM:[1001][I] OK. Current directory is /backup/Backup Dan080121
1.21.2008 3:08:29 AM:[1001][E] Unable to copy file to FTP: "70.84.201.130" [Unknown command]
1.21.2008 3:08:29 AM:[1001][E] Unexpected error. Either source or archive folders are invalid[Unable to copy file to FTP: "70.84.201.130" [Unknown command]]
1.21.2008 3:08:29 AM:[1001][I] The task will be executed again in 10 minutes
1.21.2008 3:08:30 AM:[1001][I] Task started
1.21.2008 3:08:30 AM:[1001][I] The archiving will be executed - files for archiving are available
1.21.2008 3:08:30 AM:[1001][I] Copying has started to FTP: "70.84.201.130"
1.21.2008 3:08:30 AM:[1001][I] Successfully connected
1.21.2008 3:08:30 AM:[1001][I] Successful change of directory: backup
1.21.2008 3:08:34 AM:[1001][I] Connecting to port 5147
1.21.2008 3:08:34 AM:[1001][E] Unable to copy file to FTP: "70.84.201.130" [Socket Error # 10054Connection reset by peer.]
1.21.2008 3:08:34 AM:[1001][E] Unexpected error. Either source or archive folders are invalid[Unable to copy file to FTP: "70.84.201.130"]
1.21.2008 3:08:34 AM:[1001][I] The task will be executed again in 10 minutes
1.21.2008 3:08:35 AM:[1001][I] Task started
1.21.2008 3:08:35 AM:[1001][I] The archiving will be executed - files for archiving are available
1.21.2008 3:08:35 AM:[1001][I] Copying has started to FTP: "70.84.201.130"
1.21.2008 3:08:35 AM:[1001][I] Successfully connected
1.21.2008 3:08:35 AM:[1001][I] Successful change of directory: backup
1.21.2008 3:18:07 AM:[1001][I] Connecting to port 5026
1.21.2008 3:18:07 AM:[1001][E] Unable to copy file to FTP: "70.84.201.130" [Socket Error # 10054Connection reset by peer.]
1.21.2008 3:18:07 AM:[1001][E] Unexpected error. Either source or archive folders are invalid[Unable to copy file to FTP: "70.84.201.130" [Socket Error # 10054Connection reset by peer.]]
1.21.2008 3:18:07 AM:[1001][I] The task will be executed again in 10 minutes
1.21.2008 3:18:08 AM:[1001][I] Task started
1.21.2008 3:18:08 AM:[1001][I] The archiving will be executed - files for archiving are available
1.21.2008 3:18:08 AM:[1001][I] Copying has started to FTP: "70.84.201.130"
1.21.2008 3:18:10 AM:[1001][I] Successfully connected
1.21.2008 3:18:13 AM:[1001][I] Successful change of directory: backup
1.21.2008 3:20:25 AM:[1001][I] Connecting to port 5177
1.21.2008 3:20:25 AM:[1001][E] Unable to copy file to FTP: "70.84.201.130" [Socket Error # 10054Connection reset by peer.]
1.21.2008 3:20:25 AM:[1001][E] Unexpected error. Either source or archive folders are invalid[Unable to copy file to FTP: "70.84.201.130"]
1.21.2008 3:20:25 AM:[1001][I] The task will be executed again in 10 minutes

Posted: 25 Jan 2008, 20:06
by patrickchughes
I have been trying to get this to work for 4 weeks. This error message makes no sense. The program transfers a few files then fails. The source files are still there and the ftp server is still there and has no timeout. Why the errors?????

Posted: 26 Jan 2008, 08:01
by support
It seeems as firewall problem try to use PASSIVE MODE ("Upload to FTP" panel in the task's configuration window)