It would be nice to create directories via the command line. I previously thought simply uploading would do this, but it doesnt seem to do so...
Thanks!
Feature Request: Create Directory via Command Line
I am using build 1412.04
I mentioned it a little while ago (mid Feb) and I got a new build and thought everything was ok, but maybe I didnt test it fully or the newer build since then isnt working the same...?
Here is my specific example:
localfile:
C:\ccn\media\mp3\Stead-Alan\studies-topical\test\20050322.mp3
commandline script:
C:\Progra~1\CoreFTP\coreftp.exe -site ccn -u "c:\ccn\media\mp3\Stead-Alan\studies-topical\test\20050322.mp3" -p "ftp://ftp.calvarychapel.com/media/mp3/S ... 050322.mp3" -O -S
remote server does not contain the Stead-Alan folder
The CoreFTP status window pops up and then dissappears, no errors or anything but the file hasnt been uploaded and the directory hasnt been created on the remote site...
Am I doing something wrong?
I mentioned it a little while ago (mid Feb) and I got a new build and thought everything was ok, but maybe I didnt test it fully or the newer build since then isnt working the same...?
Here is my specific example:
localfile:
C:\ccn\media\mp3\Stead-Alan\studies-topical\test\20050322.mp3
commandline script:
C:\Progra~1\CoreFTP\coreftp.exe -site ccn -u "c:\ccn\media\mp3\Stead-Alan\studies-topical\test\20050322.mp3" -p "ftp://ftp.calvarychapel.com/media/mp3/S ... 050322.mp3" -O -S
remote server does not contain the Stead-Alan folder
The CoreFTP status window pops up and then dissappears, no errors or anything but the file hasnt been uploaded and the directory hasnt been created on the remote site...
Am I doing something wrong?
I tried changing the commandline as suggested:
C:\Progra~1\CoreFTP\coreftp.exe -site ccn -u "c:\ccn\media\mp3\Stead-Alan\studies-books\01-GEN\01-GEN-001-001.mp3" -p "/media/mp3/Stead-Alan/studies-books/01-GEN/" -O -S
(slightly different example. same situation)
still get the same result. Looks like everything goes through fine, but then neither the file nor the directory structure is there on the remote end.
C:\Progra~1\CoreFTP\coreftp.exe -site ccn -u "c:\ccn\media\mp3\Stead-Alan\studies-books\01-GEN\01-GEN-001-001.mp3" -p "/media/mp3/Stead-Alan/studies-books/01-GEN/" -O -S
(slightly different example. same situation)
still get the same result. Looks like everything goes through fine, but then neither the file nor the directory structure is there on the remote end.
Ahh, this clears it up a bit...
CWD /media/mp3/Stead-Alan/studies-topical/test
550 Can't change directory to /media/mp3/Stead-Alan/studies-topical/test: No such file or directory
MKD /media/mp3/Stead-Alan/studies-topical/test
550-Can't create directory: No such file or directory
Looks like it is trying to create the last subdirectory, but it cant since neither Stead-Alan nor studies-topical exist...
Is that a server or client issue?
Alan
CWD /media/mp3/Stead-Alan/studies-topical/test
550 Can't change directory to /media/mp3/Stead-Alan/studies-topical/test: No such file or directory
MKD /media/mp3/Stead-Alan/studies-topical/test
550-Can't create directory: No such file or directory
Looks like it is trying to create the last subdirectory, but it cant since neither Stead-Alan nor studies-topical exist...
Is that a server or client issue?
Alan
I tried the -recurse and it did not work...
I also noticed with only 1 level of directories to create, it worked:
MKD /media/mp3/worship/Calvary-Chapel
257-"/media/mp3/worship/Calvary-Chapel" : The directory was successfully created
I guess I can just make sure I only have 1 level of possible new directories...
I also noticed with only 1 level of directories to create, it worked:
MKD /media/mp3/worship/Calvary-Chapel
257-"/media/mp3/worship/Calvary-Chapel" : The directory was successfully created
I guess I can just make sure I only have 1 level of possible new directories...
