hi,
i use CF-lite, V1.3, build 1391.
my problem? simplifiying uploads using a script wotks partly.
C:\...\coreftp.exe -s -u E:\...\index.htm -site "..." -O (no -p) works fine.
C:\...\coreftp.exe -s -u E:\...\de\schlagzeilen\index.htm -site "..." -p /de/schlagzeilen -O fails.
THE LOGFILE
SYST
215 UNIX Type: L8
PWD
257 "/" is your current location
PASV
227 Entering Passive Mode (80,67,17,19,227,130)
LIST
Connect socket #104 to 80.67.17.19, port 58242...150 Accepted data connection
226-Options: -a -l
226 6 matches total
Transferred 382 bytes in 0.050 seconds
PWD
257 "/" is your current location
CWD /webseiten/proFRAU/
250 OK. Current directory is /webseiten/proFRAU
PASV
227 Entering Passive Mode (80,67,17,19,207,114)
LIST
Connect socket #104 to 80.67.17.19, port 53106...150 Accepted data connection
226-Options: -a -l
226 10 matches total
Transferred 630 bytes in 0.110 seconds
CWD de/schlagzeilen
250 OK. Current directory is /webseiten/proFRAU/de/schlagzeilen
(c-c-a: this is OK)
PASV
227 Entering Passive Mode (80,67,17,19,255,130)
LIST
Connect socket #104 to 80.67.17.19, port 65410...150 Accepted data connection
226-Options: -a -l
226 6 matches total
Transferred 376 bytes in 0.050 seconds
CWD de/schlagzeilen
(c-c-a: why a second time?)
550 Can't change directory to de/schlagzeilen/: No such file or directory
(c-c-a: gives naturally this error)
Total uploaded files: 0
Total uploaded data: 0
Total downloaded files: 0
Total downloaded data: 0
with kind regards
c-c-a
UPLOAD - No such file or directory
the site i use - defined in SiteManager - connects to Host www.c-c-a.at and has the Remote Start Folder /webseiten/proFRAU.
connecting is OK and shows message 250 OK. Current directory is /webseiten/proFRAU.
the given path -p de/schlagzeilen/ is a subdir of above dir (without the last "/" CF creates a subdir "schlagzeilen" in the root-dir after "CWD //schlagzeilen" !?!).
the build i use is 1.3b 1391 / October 5th, 2004 (downloaded today 13:29 GMT). do i have to install the Developer Build?
c-c-a
connecting is OK and shows message 250 OK. Current directory is /webseiten/proFRAU.
the given path -p de/schlagzeilen/ is a subdir of above dir (without the last "/" CF creates a subdir "schlagzeilen" in the root-dir after "CWD //schlagzeilen" !?!).
the build i use is 1.3b 1391 / October 5th, 2004 (downloaded today 13:29 GMT). do i have to install the Developer Build?
c-c-a
neither of them (ansi, dev) works.
the question is: where comes the second CWD from??
* the 1st CWD /webseiten/proFRAU/ seems to come from the SiteManager.
* the 2nd CWD de/schlagzeilen (NO final "/") is mysterious and should not be there, for
* the 3rd CWD de/schlagzeilen/ (WITH final "/") seems to come from the "-p"-parm.
c-c-a
the question is: where comes the second CWD from??
* the 1st CWD /webseiten/proFRAU/ seems to come from the SiteManager.
* the 2nd CWD de/schlagzeilen (NO final "/") is mysterious and should not be there, for
* the 3rd CWD de/schlagzeilen/ (WITH final "/") seems to come from the "-p"-parm.
c-c-a
i found a workaround
i removed the subdir /webseiten/proFRAU/ from the SiteManager to the "-p"-parm in the script.
it can only be a workaround, for the subdir "webseiten" is the rootdir of the pages. so this should be coded in the SiteManager.
another question comes up: is there another possibility to connect via command with userid and password and not to use a defined site?
c-c-a
i removed the subdir /webseiten/proFRAU/ from the SiteManager to the "-p"-parm in the script.
it can only be a workaround, for the subdir "webseiten" is the rootdir of the pages. so this should be coded in the SiteManager.
another question comes up: is there another possibility to connect via command with userid and password and not to use a defined site?
c-c-a