BestSync repeats sub-folder name on FTP and causing failure

Welcome to BestSync Support Forum!
If you have any questions, comments, concerns, suggestion, please summit here, we'll try to reply you in short time.
Thank you!
Post Reply
little monkey
Posts: 4
Joined: Mon Oct 08, 2012 4:40 pm

BestSync repeats sub-folder name on FTP and causing failure

Post by little monkey »

I've just upgraded to latest bestsync v7.3.23 from version 2008.

However it is not working properly when synchronizing from/to FTP. Here is the log.

We are trying to sync files to FTP:/To hisoft/PDFs_Review/, but Bestsync keeps repeating the subfolder name PDFs_Review which does not exist.

When I switch back to V2008, everything worked fine.

Please help ASAP.

>MLSD /To hisoft/PDFs_Review
<150 Opening BINARY mode data connection for MLSD.
<226-Maximum disk quota limited to 30720000 kBytes
< Used disk quota 4624550 kBytes, available 26095449 kBytes
<226 Transfer complete.
>PASV
<227 Entering Passive Mode (202,111,6,13,4,132)
>MLSD /To hisoft/PDFs_Review/PDFs_Review
<501 /To hisoft/PDFs_Review/PDFs_Review: Not a directory.
>PASV
<227 Entering Passive Mode (202,111,6,13,4,133)
>MLSD /To hisoft/PDFs_Review/PDFs_Review
RiseFly
Site Admin
Posts: 1077
Joined: Tue Nov 03, 2009 2:51 pm

Re: BestSync repeats sub-folder name on FTP and causing fail

Post by RiseFly »

Please try to specify "Advanced" Option /"Miscellaneous" Tab /"Call 'CWD Path' before 'MLSD' or 'LIST' command" Option to see if the problem can be avoided.
little monkey
Posts: 4
Joined: Mon Oct 08, 2012 4:40 pm

Re: BestSync repeats sub-folder name on FTP and causing fail

Post by little monkey »

Tried with your suggestion and it is not working. I have also tried with previous versions 7.0.24 which is working fine. Note: I happened to have v7.0.24 installed on another machine but couldn't find the installer anymore. Your website does not provide a download for this version. The oldest version available is v7.1.0 which is not working for me by my test.

This is nothing to do with space in the folder name. I tried folders without space and hitting the same issue. I could not attach any file to this forum

*******************************************
Here is the log from v7.3.23
*******************************************
<220 Welcome to hiSoft FTP Service
>USER XXXXXXXXXXXXXX
<331 User name okay, need password.
>PASS *****
<230 User logged in, proceed.
>TYPE I
<200 Type set to I.
>OPTS UTF8 ON
<501 Invalid option.
Begin to detect functions of FTP server.
>CWD /From_hiSoft
<250 Directory changed to /From_hiSoft
>CWD /From_hiSoft/DOC
<250 Directory changed to /From_hiSoft/DOC
>FEAT
<211-Extension supported
< CLNT
< MDTM
< MDTM YYYYMMDDHHMMSS[+-TZ];filename
< SIZE
< SITE PSWD;EXEC;SET;INDEX;ZONE;CHMOD;MSG
< REST STREAM
< XCRC filename;start;end
< MODE Z
< MLST Type*;Size*;Create;Modify*;Win32.ea*;
<211 End
>TYPE A
<200 Type set to A.
>PASV
<227 Entering Passive Mode (202,111,6,13,6,214)
>MLSD /From_hiSoft/DOC/
<150 Opening BINARY mode data connection for MLSD.
<226-Maximum disk quota limited to 30720000 kBytes
< Used disk quota 5962251 kBytes, available 24757748 kBytes
<226 Transfer complete.
/From_hiSoft/DOC/tmpmdmt.htm
>TYPE I
<200 Type set to I.
>PASV
<227 Entering Passive Mode (202,111,6,13,6,215)
>STOR /From_hiSoft/DOC/tmpmdmt.htm
<150 Opening BINARY mode data connection for tmpmdmt.htm.
<226-Maximum disk quota limited to 30720000 kBytes
< Used disk quota 5962251 kBytes, available 24757748 kBytes
<226 Transfer complete.
>TYPE A
<200 Type set to A.
>PASV
<227 Entering Passive Mode (202,111,6,13,6,216)
>MLSD /From_hiSoft/DOC
<150 Opening BINARY mode data connection for MLSD.
<226-Maximum disk quota limited to 30720000 kBytes
< Used disk quota 5962251 kBytes, available 24757748 kBytes
<226 Transfer complete.
Use the specified timezone (-480) minutes.
>MDTM /From_hiSoft/DOC/tmpmdmt.htm
<213 20121022165614
>MDTM 20121022165731;/From_hiSoft/DOC/tmpmdmt.htm
<550 /From_hiSoft/DOC/20121022165731;/From_hiSoft/DOC/tmpmdmt.htm: No such file or directory.
>MFMT 20121022165731 /From_hiSoft/DOC/tmpmdmt.htm
<500 'MFMT': command not understood.
>SITE UTIME 201210221657 /From_hiSoft/DOC/tmpmdmt.htm
<501 SITE option not supported.
>SITE UTIME /From_hiSoft/DOC/tmpmdmt.htm 20121022165732 20121022165732 20121022165732 UTC
<501 SITE option not supported.
>TYPE I
<200 Type set to I.
>PASV
<227 Entering Passive Mode (202,111,6,13,6,217)
>REST 1
<350 Restarting at 1. Send STORE or RETRIEVE.
>RETR /From_hiSoft/DOC/tmpmdmt.htm
<150 Opening BINARY mode data connection for tmpmdmt.htm (47 Bytes).
<226-Maximum disk quota limited to 30720000 kBytes
< Used disk quota 5962251 kBytes, available 24757748 kBytes
<226 Transfer complete.
/From_hiSoft/DOC/tmpmdmt.htm
>DELE /From_hiSoft/DOC/tmpmdmt.htm
<250 DELE command successful.
End detect server functions.
>TYPE A
<200 Type set to A.
>PASV
<227 Entering Passive Mode (202,111,6,13,6,218)
>MLSD /From_hiSoft/DOC
<150 Opening BINARY mode data connection for MLSD.
<226-Maximum disk quota limited to 30720000 kBytes
< Used disk quota 5962251 kBytes, available 24757748 kBytes
<226 Transfer complete.
>PASV
<227 Entering Passive Mode (202,111,6,13,6,219)
>MLSD /From_hiSoft/DOC/DOC
<501 /From_hiSoft/DOC/DOC: Not a directory.
>PASV
<227 Entering Passive Mode (202,111,6,13,6,220)
>MLSD /From_hiSoft/DOC/DOC
<501 /From_hiSoft/DOC/DOC: Not a directory.

*******************************************
Here is the log from v7.0.24
*******************************************
<220 Welcome to hiSoft FTP Service
>USER XXXXXXXXXXXXX
<331 User name okay, need password.
>PASS *****
<230 User logged in, proceed.
>TYPE I
<200 Type set to I.
>OPTS UTF8 ON
<501 Invalid option.
Begin to detect functions of FTP server.
>CWD /From_hiSoft
<250 Directory changed to /From_hiSoft
>CWD /From_hiSoft/DOC
<250 Directory changed to /From_hiSoft/DOC
>FEAT
<211-Extension supported
< CLNT
< MDTM
< MDTM YYYYMMDDHHMMSS[+-TZ];filename
< SIZE
< SITE PSWD;EXEC;SET;INDEX;ZONE;CHMOD;MSG
< REST STREAM
< XCRC filename;start;end
< MODE Z
< MLST Type*;Size*;Create;Modify*;Win32.ea*;
<211 End
>TYPE A
<200 Type set to A.
>PASV
<227 Entering Passive Mode (202,111,6,13,6,144)
>MLSD /From_hiSoft/DOC/
<150 Opening BINARY mode data connection for MLSD.
<226-Maximum disk quota limited to 30720000 kBytes
< Used disk quota 5962251 kBytes, available 24757748 kBytes
<226 Transfer complete.
/From_hiSoft/DOC/tmpmdmt.htm
>TYPE I
<200 Type set to I.
>PASV
<227 Entering Passive Mode (202,111,6,13,6,145)
>STOR /From_hiSoft/DOC/tmpmdmt.htm
<150 Opening BINARY mode data connection for tmpmdmt.htm.
<226-Maximum disk quota limited to 30720000 kBytes
< Used disk quota 5962251 kBytes, available 24757748 kBytes
<226 Transfer complete.
>TYPE A
<200 Type set to A.
>PASV
<227 Entering Passive Mode (202,111,6,13,6,146)
>MLSD /From_hiSoft/DOC
<150 Opening BINARY mode data connection for MLSD.
<226-Maximum disk quota limited to 30720000 kBytes
< Used disk quota 5962251 kBytes, available 24757748 kBytes
<226 Transfer complete.
>PASV
<227 Entering Passive Mode (202,111,6,13,6,147)
>MLSD /From_hiSoft/DOC
<150 Opening BINARY mode data connection for MLSD.
<226-Maximum disk quota limited to 30720000 kBytes
< Used disk quota 5962251 kBytes, available 24757748 kBytes
<226 Transfer complete.
>PASV
<227 Entering Passive Mode (202,111,6,13,6,148)
>MLSD /From_hiSoft/DOC
<150 Opening BINARY mode data connection for MLSD.
<226-Maximum disk quota limited to 30720000 kBytes
< Used disk quota 5962251 kBytes, available 24757748 kBytes
<226 Transfer complete.
>PASV
<227 Entering Passive Mode (202,111,6,13,6,149)
>MLSD /From_hiSoft/DOC
<150 Opening BINARY mode data connection for MLSD.
<226-Maximum disk quota limited to 30720000 kBytes
< Used disk quota 5962251 kBytes, available 24757748 kBytes
<226 Transfer complete.
>PASV
<227 Entering Passive Mode (202,111,6,13,6,150)
>MLSD /From_hiSoft/DOC
<150 Opening BINARY mode data connection for MLSD.
<226-Maximum disk quota limited to 30720000 kBytes
< Used disk quota 5962251 kBytes, available 24757748 kBytes
<226 Transfer complete.
Can not detect server's timezone, use local timezone (480) minutes.
>MDTM /From_hiSoft/DOC/tmpmdmt.htm
<213 20121022164954
>MDTM 20121022165116 /From_hiSoft/DOC/tmpmdmt.htm
<253 Date/time changed okay.
>MDTM /From_hiSoft/DOC/tmpmdmt.htm
<213 20121022165116
>MFMT 20121022165116 /From_hiSoft/DOC/tmpmdmt.htm
<500 'MFMT': command not understood.
>SITE UTIME 201210221651 /From_hiSoft/DOC/tmpmdmt.htm
<501 SITE option not supported.
>SITE UTIME /From_hiSoft/DOC/tmpmdmt.htm 20121022165116 20121022165116 20121022165116 UTC
<501 SITE option not supported.
>TYPE I
<200 Type set to I.
>PASV
<227 Entering Passive Mode (202,111,6,13,6,151)
>REST 1
<350 Restarting at 1. Send STORE or RETRIEVE.
>RETR /From_hiSoft/DOC/tmpmdmt.htm
<150 Opening BINARY mode data connection for tmpmdmt.htm (47 Bytes).
<226-Maximum disk quota limited to 30720000 kBytes
< Used disk quota 5962251 kBytes, available 24757748 kBytes
<226 Transfer complete.
/From_hiSoft/DOC/tmpmdmt.htm
>DELE /From_hiSoft/DOC/tmpmdmt.htm
<250 DELE command successful.
End detect server functions.
>TYPE A
<200 Type set to A.
>PASV
<227 Entering Passive Mode (202,111,6,13,6,152)
>MLSD /From_hiSoft/DOC
<150 Opening BINARY mode data connection for MLSD.
<226-Maximum disk quota limited to 30720000 kBytes
< Used disk quota 5962251 kBytes, available 24757748 kBytes
<226 Transfer complete.
<[1]220 Welcome to hiSoft FTP Service
>[1]USER informatica
<[1]331 User name okay, need password.
>[1]PASS *****
<[1]230 User logged in, proceed.
>[1]TYPE I
<[1]200 Type set to I.
>[1]OPTS UTF8 ON
<[1]501 Invalid option.
>[1]FEAT
<[1]211-Extension supported
<[1] CLNT
<[1] MDTM
<[1] MDTM YYYYMMDDHHMMSS[+-TZ];filename
<[1] SIZE
<[1] SITE PSWD;EXEC;SET;INDEX;ZONE;CHMOD;MSG
<[1] REST STREAM
<[1] XCRC filename;start;end
<[1] MODE Z
<[1] MLST Type*;Size*;Create;Modify*;Win32.ea*;
<[1]211 End
>[1]TYPE A
<[1]200 Type set to A.
>[1]PASV
<[1]227 Entering Passive Mode (202,111,6,13,6,154)
<[2]220 Welcome to hiSoft FTP Service
>[2]USER informatica
<[2]331 User name okay, need password.
>[2]PASS *****
>[1]MLSD /From_hiSoft/DOC/DOC
<[1]501 /From_hiSoft/DOC/DOC: Not a directory.
<[2]230 User logged in, proceed.
>[2]TYPE I
<[2]200 Type set to I.
>[2]OPTS UTF8 ON
<[2]501 Invalid option.
>[2]FEAT
<[2]211-Extension supported
<[2] CLNT
<[2] MDTM
<[2] MDTM YYYYMMDDHHMMSS[+-TZ];filename
<[2] SIZE
<[2] SITE PSWD;EXEC;SET;INDEX;ZONE;CHMOD;MSG
<[2] REST STREAM
<[2] XCRC filename;start;end
<[2] MODE Z
<[2] MLST Type*;Size*;Create;Modify*;Win32.ea*;
<[2]211 End
<[4]220 Welcome to hiSoft FTP Service
>[4]USER informatica
<[3]220 Welcome to hiSoft FTP Service
>[3]USER informatica
<[4]331 User name okay, need password.
>[4]PASS *****
<[3]331 User name okay, need password.
>[3]PASS *****
<[4]230 User logged in, proceed.
>[4]TYPE I
<[3]230 User logged in, proceed.
>[3]TYPE I
<[4]200 Type set to I.
>[4]OPTS UTF8 ON
<[3]200 Type set to I.
>[3]OPTS UTF8 ON
<[4]501 Invalid option.
>[4]FEAT
<[3]501 Invalid option.
>[3]FEAT
<[4]211-Extension supported
<[3]211-Extension supported
<[4] CLNT
<[4] MDTM
<[4] MDTM YYYYMMDDHHMMSS[+-TZ];filename
<[4] SIZE
<[4] SITE PSWD;EXEC;SET;INDEX;ZONE;CHMOD;MSG
<[4] REST STREAM
<[4] XCRC filename;start;end
<[4] MODE Z
<[4] MLST Type*;Size*;Create;Modify*;Win32.ea*;
<[4]211 End
<[3] CLNT
<[3] MDTM
<[3] MDTM YYYYMMDDHHMMSS[+-TZ];filename
<[3] SIZE
<[3] SITE PSWD;EXEC;SET;INDEX;ZONE;CHMOD;MSG
<[3] REST STREAM
<[3] XCRC filename;start;end
<[3] MODE Z
<[3] MLST Type*;Size*;Create;Modify*;Win32.ea*;
<[3]211 End
<[5]220 Welcome to hiSoft FTP Service
>[5]USER informatica
<[5]331 User name okay, need password.
>[5]PASS *****
<[5]230 User logged in, proceed.
>[5]TYPE I
<[5]200 Type set to I.
>[5]OPTS UTF8 ON
<[5]501 Invalid option.
>[5]FEAT
<[5]211-Extension supported
<[5] CLNT
<[5] MDTM
<[5] MDTM YYYYMMDDHHMMSS[+-TZ];filename
<[5] SIZE
<[5] SITE PSWD;EXEC;SET;INDEX;ZONE;CHMOD;MSG
<[5] REST STREAM
<[5] XCRC filename;start;end
<[5] MODE Z
<[5] MLST Type*;Size*;Create;Modify*;Win32.ea*;
<[5]211 End
<[6]220 Welcome to hiSoft FTP Service
>[6]USER informatica
<[6]331 User name okay, need password.
>[6]PASS *****
<[6]230 User logged in, proceed.
>[6]TYPE I
<[6]200 Type set to I.
>[6]OPTS UTF8 ON
<[6]501 Invalid option.
>[6]FEAT
<[6]211-Extension supported
<[6] CLNT
<[6] MDTM
<[6] MDTM YYYYMMDDHHMMSS[+-TZ];filename
<[6] SIZE
<[6] SITE PSWD;EXEC;SET;INDEX;ZONE;CHMOD;MSG
<[6] REST STREAM
<[6] XCRC filename;start;end
<[6] MODE Z
<[6] MLST Type*;Size*;Create;Modify*;Win32.ea*;
<[6]211 End
RiseFly
Site Admin
Posts: 1077
Joined: Tue Nov 03, 2009 2:51 pm

Re: BestSync repeats sub-folder name on FTP and causing fail

Post by RiseFly »

It seems that the two logs have no difference. Both have the following log:
-------------------------------------------------------------------------------------------
>MLSD /From_hiSoft/DOC/DOC
<501 /From_hiSoft/DOC/DOC: Not a directory.
-------------------------------------------------------------------------------------------
Because HiSoft FTP service is not available from download, we can not debug this server, may be the response of this server has something special that leaded BestSync can not parse the result correctly.
Post Reply