Hello,
I'm using Core FTP Lite (build 1248) on a W2K-Client.
Using the Site Manager I configuered the following site named NAI:
Host: ftp.nai.com
Anonymous: tick
Port: 21
PASV Transfers: tick
Remote Start Folder: pub/antivirus/datfiles/4.x/
Local Start Folder: M:\data\FTP
Advanced - Proxy Settings
HTTP 1.1: tick
Proxy Host: ower own Proxy-Server
Port: 80
Connection is established successfully and the content of the Remote Start Folder is displayed. (see logfile appended)
How can I instruct Core-FTP-Client to load n e w files automatically?
Finally I would like to use a Command Line like
C:\Programme\CoreFTP\coreftp.exe -site NAI -QA
to initiate the Download. But the "-site NAI"-Option shows an Error-Window: No host specified.
But when I specify the host "ftp://ftp.nai.com", the proxy-usage is not selected and working. A connection is not established because I only may use a connection via Proxy-Server.
Please help me.
Kind regards
Wilfried
*******************************************************
* L O G - E X A M P L E *
*******************************************************
Welcome to Core FTP, release ver 1.3, build 1248 (U) -- © 2003
WinSock 2.0
Mem -- 260,088 KB, Virt -- 2,097,024 KB
Started on Thursday January 15, 2004 at 15:38:PM
Resolving ftp.nai.com, via proxy ...
Connect socket #588 to 10.128.24.114, port 80 (to 21)...
220 sncwebftp4 Microsoft FTP Service (Version 5.0).
USER anonymous
331 Anonymous access allowed, send identity (e-mail name) as password.
PASS **********
230-You are connected to ftp.nai.com.
230-Your use is subject to the terms and
230-conditions in Legal.TXT and Usage.TXT files.
230-*Mirror sites at FTPEUR.NAI.COM and FTPDE.NAI.COM*
230 Anonymous user logged in.
SYST
215 Windows_NT version 5.0
Keep alive off...
PWD
257 "/" is current directory.
CWD /pub/antivirus/datfiles/4.x/
250 CWD command successful.
PASV
227 Entering Passive Mode(216,49,88,143,102,28).
LIST
Resolving 216.49.88.143, via proxy ...
Connect socket #640 to 10.128.24.114, port 80 (to 26140)...
125 Data connection already open; Transfer starting.
226 Transfer complete.
Transferred 1,206 bytes in 0.313 seconds
Automatic download
Automatic Download
Hello CP,
thank you for your quick reply. I'm sorry, but the -site operand still doesn't work. I used different commandline constructions:
C:\WINNT\temp>C:\Programme\CoreFTP\coreftp.exe -d ftp://ftp.nai.com/pub/antivirus/datfiles/4.x/* -ON -site NAI
C:\WINNT\temp>C:\Programme\CoreFTP\coreftp.exe -site NAI -u -d ftp://ftp.nai.com/pub/antivirus/datfiles/4.x/* -ON
C:\WINNT\temp>C:\Programme\CoreFTP\coreftp.exe -d ftp://ftp.nai.com/pub/antivirus/datfiles/4.x/* -ON -site NAI -u
However, as the logfile shows, the proxy is not involved:
Started on Monday January 19, 2004 at 10:29:AM
Resolving ftp.nai.com...
Connect socket #584 to 216.49.88.143, port 21...
Can't establish connection --> ftp.nai.com:21 @ Mon Jan 19 10:30:22 2004 (122-5)
Waiting 8 of 61 seconds for retry #1...
Would you please have a look what's going wrong?
Kind regards
Wilfried
thank you for your quick reply. I'm sorry, but the -site operand still doesn't work. I used different commandline constructions:
C:\WINNT\temp>C:\Programme\CoreFTP\coreftp.exe -d ftp://ftp.nai.com/pub/antivirus/datfiles/4.x/* -ON -site NAI
C:\WINNT\temp>C:\Programme\CoreFTP\coreftp.exe -site NAI -u -d ftp://ftp.nai.com/pub/antivirus/datfiles/4.x/* -ON
C:\WINNT\temp>C:\Programme\CoreFTP\coreftp.exe -d ftp://ftp.nai.com/pub/antivirus/datfiles/4.x/* -ON -site NAI -u
However, as the logfile shows, the proxy is not involved:
Started on Monday January 19, 2004 at 10:29:AM
Resolving ftp.nai.com...
Connect socket #584 to 216.49.88.143, port 21...
Can't establish connection --> ftp.nai.com:21 @ Mon Jan 19 10:30:22 2004 (122-5)
Waiting 8 of 61 seconds for retry #1...
Would you please have a look what's going wrong?
Kind regards
Wilfried
Automatic Download
Sorry, I forgot!
I'm now using Core FTP Lite 1.3 build 1252.
Kind regards
Wilfried
I'm now using Core FTP Lite 1.3 build 1252.
Kind regards
Wilfried
Hello CP,
my site-definition for NAI should be alright:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\FTPWare\COREFTP\Sites]
[HKEY_CURRENT_USER\Software\FTPWare\COREFTP\Sites\4]
"Id"=dword:00000004
"PId"=dword:00000000
"Type"=dword:00000001
"Pos"=dword:00000000
"PASV"=dword:00000001
"SSL"=dword:00000000
"SSH"=dword:00000000
"Proxy"=dword:00000001
"OffSt"=dword:00000000
"GMT"=dword:00000000
"NoPW"=dword:00000000
"NoUser"=dword:00000000
"SSLL"=dword:00000001
"SSLX"=dword:00000001
"NMDTM"=dword:00000002
"NOOP"=dword:00000002
"RenU"=dword:00000002
"RenD"=dword:00000002
"Skey"=dword:00000002
"Alive"=dword:00000002
"Cache"=dword:00000002
"Recon"=dword:00000002
"ARecon"=dword:00000002
"XMode"=dword:00000000
"Tmout"=dword:0000000a
"Retries"=dword:00000000
"Retry"=dword:00000000
"Fldr"=dword:00000000
"AdvLst"=dword:00000002
"AP"=dword:00000000
"XRetry"=dword:00000001
"XReties"=dword:00000005
"CMode"=dword:ffffffff
"MaxCon"=dword:00000001
"Name"="NAI"
"Desc"=""
"Host"="ftp.nai.com"
"User"="anonymous"
"PW"="7DCD524B40723F2B7FDCB05CFE2D9A9C"
"Acct"=""
"PthR"="pub/antivirus/datfiles/4.x/"
"PthL"="M:\\data\\FTP"
"PLo"=dword:00000000
"PHi"=dword:0000ffff
"Port"=dword:00000015
"SvPW"=dword:00000000
"Anon"=dword:00000001
"RSz"=dword:00001000
"SSz"=dword:00000200
"SMax"=dword:77359400
"SMin"=dword:00000000
"RMax"=dword:77359400
"RMin"=dword:00000000
"CU"=dword:00000000
"CL"=dword:00000000
"SL1"=""
"SL2"=""
"SL3"=""
"SL0"=dword:00000001
"SH0"=dword:00000000
"SH1"=""
"SH2"=""
"SH3"=""
"PH"="gw-nl1.csm-bsde.com"
"PU"=""
"PP"=""
"PPt"=dword:00000050
"PT"=dword:00000004
"PF"=dword:00000000
Kind regards
Wilfried
my site-definition for NAI should be alright:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\FTPWare\COREFTP\Sites]
[HKEY_CURRENT_USER\Software\FTPWare\COREFTP\Sites\4]
"Id"=dword:00000004
"PId"=dword:00000000
"Type"=dword:00000001
"Pos"=dword:00000000
"PASV"=dword:00000001
"SSL"=dword:00000000
"SSH"=dword:00000000
"Proxy"=dword:00000001
"OffSt"=dword:00000000
"GMT"=dword:00000000
"NoPW"=dword:00000000
"NoUser"=dword:00000000
"SSLL"=dword:00000001
"SSLX"=dword:00000001
"NMDTM"=dword:00000002
"NOOP"=dword:00000002
"RenU"=dword:00000002
"RenD"=dword:00000002
"Skey"=dword:00000002
"Alive"=dword:00000002
"Cache"=dword:00000002
"Recon"=dword:00000002
"ARecon"=dword:00000002
"XMode"=dword:00000000
"Tmout"=dword:0000000a
"Retries"=dword:00000000
"Retry"=dword:00000000
"Fldr"=dword:00000000
"AdvLst"=dword:00000002
"AP"=dword:00000000
"XRetry"=dword:00000001
"XReties"=dword:00000005
"CMode"=dword:ffffffff
"MaxCon"=dword:00000001
"Name"="NAI"
"Desc"=""
"Host"="ftp.nai.com"
"User"="anonymous"
"PW"="7DCD524B40723F2B7FDCB05CFE2D9A9C"
"Acct"=""
"PthR"="pub/antivirus/datfiles/4.x/"
"PthL"="M:\\data\\FTP"
"PLo"=dword:00000000
"PHi"=dword:0000ffff
"Port"=dword:00000015
"SvPW"=dword:00000000
"Anon"=dword:00000001
"RSz"=dword:00001000
"SSz"=dword:00000200
"SMax"=dword:77359400
"SMin"=dword:00000000
"RMax"=dword:77359400
"RMin"=dword:00000000
"CU"=dword:00000000
"CL"=dword:00000000
"SL1"=""
"SL2"=""
"SL3"=""
"SL0"=dword:00000001
"SH0"=dword:00000000
"SH1"=""
"SH2"=""
"SH3"=""
"PH"="gw-nl1.csm-bsde.com"
"PU"=""
"PP"=""
"PPt"=dword:00000050
"PT"=dword:00000004
"PF"=dword:00000000
Kind regards
Wilfried
Hello CP,
"It's getting better all the time!"
After switching to build 1253 I used the following commandline:
>C:\Programme\CoreFTP\coreftp.exe
-d ftp://ftp.nai.com/pub/antivirus/datfiles/4.x/* -ON -u -p M:\data\FTP
-site NAI
Connection was established using the NAI site-configuration including the HTTP-Proxy. CoreFTP switched to the source folder and wanted to start a download of a file with 1206 Bytes. I got this information from a tiny window named "Current". Immediately after this a window with header "Microsoft Visual C++ Runtime Library" showed the following:
Runtime Error!
Programm: C:\Programme\CoreFTP\coreftp.exe
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.
That's what I'm doing right now.
Hope you find a solution.
Kind regards
Wilfried
"It's getting better all the time!"
After switching to build 1253 I used the following commandline:
>C:\Programme\CoreFTP\coreftp.exe
-d ftp://ftp.nai.com/pub/antivirus/datfiles/4.x/* -ON -u -p M:\data\FTP
-site NAI
Connection was established using the NAI site-configuration including the HTTP-Proxy. CoreFTP switched to the source folder and wanted to start a download of a file with 1206 Bytes. I got this information from a tiny window named "Current". Immediately after this a window with header "Microsoft Visual C++ Runtime Library" showed the following:
Runtime Error!
Programm: C:\Programme\CoreFTP\coreftp.exe
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.
That's what I'm doing right now.
Hope you find a solution.
Kind regards
Wilfried
Hello CP,
Sorry, but I didn't want to use the -u option. I don't need upload.
Now I installed build 1254 and found, that the only problem is the usage of wildcards. I tested with your FTP-Site.
Using the following commandline worked fine:
C:\Programme\CoreFTP\coreftp.exe -d ftp://ftp.ftpware.com/log.txt
-ON -p M:\data\FTP -site CORE
Using the following commandline caused a problem:
C:\Programme\CoreFTP\coreftp.exe -d ftp://ftp.ftpware.com/*.*
-ON -p M:\data\FTP -site CORE
The error was nearly the same I described yesterday. It is the runtime error within Visual C++.
Kind regards
Wilfried
Sorry, but I didn't want to use the -u option. I don't need upload.
Now I installed build 1254 and found, that the only problem is the usage of wildcards. I tested with your FTP-Site.
Using the following commandline worked fine:
C:\Programme\CoreFTP\coreftp.exe -d ftp://ftp.ftpware.com/log.txt
-ON -p M:\data\FTP -site CORE
Using the following commandline caused a problem:
C:\Programme\CoreFTP\coreftp.exe -d ftp://ftp.ftpware.com/*.*
-ON -p M:\data\FTP -site CORE
The error was nearly the same I described yesterday. It is the runtime error within Visual C++.
Kind regards
Wilfried