Extra empty directory created on server if uploading *.*

Report client bugs
Post Reply
dachenbach
Posts: 1
Joined: Thu Sep 25, 2008 2:00 pm

Extra empty directory created on server if uploading *.*

Post by dachenbach »

Hello, I'm having a problem with CoreFTP creating an extra empty directory when I run it from the command line. Here is my command:

coreftp.exe -s -B -log ftplog.txt -u \\server\share\*.* -recurse ftp://ftpuser:ftppass@ftp.mysite.com/test/ -OA

where the contents of \\server\share are as follows:

\\server\share\rootfile1.txt
\\server\share\rootfile2.txt

\\server\share\afolder\
\\server\share\afolder\sub1test1.txt
\\server\share\afolder\sub1test2.txt

\\server\share\another_fldr\
\\server\share\another_fldr\sub2test1.txt
\\server\share\another_fldr\sub2test2.txt

When I run my command, everything works correctly, except that I end up with an extra empty directory in my remote directory structure, so it looks like the following:

\\server\share\rootfile1.txt
\\server\share\rootfile2.txt

\\server\share\afolder\
\\server\share\afolder\another_fldr\ <-- superfluous folder
\\server\share\afolder\sub1test1.txt
\\server\share\afolder\sub1test2.txt

\\server\share\another_fldr\
\\server\share\another_fldr\sub2test1.txt
\\server\share\another_fldr\sub2test2.txt

Note that the name it gives the empty directory is the name of the second directory. ALSO note I just tried this on a completely different FTP server and it works properly (no extra directory is created). I guess the question now is have you seen this before and do you know if it's an FTP server setting that may need to be adjusted?

I'm using version 2.1, build 1575.

Thanks.
Post Reply