I recently downloaded the Core FTP client and so far I am quite pleased with how well it works and I'd be interested in purchasing the full version if I can overcome a couple of issues. I'm using Core FTP LE version 2.1, Build 1607 on Windows Server 2003 SP1
I am trying to download files from an ftp site using the command line.
The structure of the files on the server is:
/BUS4456312/CallLogs/
- 488380000
-- <multiple files>
- 491900000
-- <multiple files>
- 491910000
-- <multiple files>
...
Each numbered folder under the CallLogs folder contains multiple files. Here is the command line I'm using to download the files:
"c:\program files\coreftp\coreftp.exe" -s -OG -site inContact -d /BUS4456312/CallLogs/ -p "D:\UCN Call Logs" -delsrc -log c:\coreftp.log
1) The download works, but the issue is that instead of all my numbered folders (491910000, etc.) appearing under "D:\UCN Call Logs", they are actually appearing under "D:\UCN Call Logs\CallLogs". I really don't want the "CallLogs" folder appearing on the download site. Is there a way around this? I've tried using wildcards (* and *.*) with the -d parameter but that didn't change anything. What's strange though is I *think* I've seen it work correctly, but I can't reproduce it.
2) Also, I am using the -delsrc command line option to delete the files once they download. Is there a way to delete the empty numbered folders on the server too after a successful download?
Thanks,
Chad