I don't see debug logs in your message. Use `debug' command in lftp.
On Fri, Apr 02, 2010 at 12:39:13PM -0700, Andrew Athan wrote: > Alexander: > > Sure. I suggest you also get a Linux system and attempt to connect to > your FTPS server from it using whatever method you desire, then let me > know the method and settings you used. I'm sure we won't be the last > (and are probably not the first) client to want to connect via Linux, > and having such a known good example will be useful to everyone. > Whichever method you choose will be fine with us, even if it involves a > reasonable purchase of commercial FTP software. > > What follows is the test script, and then the output, separated by > -------. You'll notice it makes two attempts, with slightly different > lftp settings. In once case LFTP doesn't seem to make an SSL connection > attempt, in the second it is apparently asking for a "PROT C" instead of > "PROT P" I have not been able to find settings that are compatible with > the security policies on your servers! > > I have also tried using curl, for example: > > curl --insecure -2 --ftp-ssl --ftp-pasv -u etcq:mB8&g$ss > -T/var/eod/etcq/ETCQ_20100401_TRADE.txt ftp://64.15.218.149:21/IN/TRADE > > I am seeking for you to provide me with a known good example of a Linux > or Unix system connecting to the FTPS site you provided. I appreciate > your help. > > A. > > --------------------------------------------- > > #!/bin/bash > > touch test.csv > > echo "VERSION" > > lftp --version > > echo "TRY 1" > > cat > commands <<EOF > open 64.15.218.149 > user etcq 'mB8&g\$ss' > set ftp:ssl-allow yes > set ftp:ssl-allow-anonymous yes > set ftp:ssl-auth SSL > set ftp:ssl-data-use-keys yes > set ftp:ssl-force yes > set ftp:ssl-protect-data yes > set ftp:ssl-protect-fxp yes > set ftp:ssl-protect-list yes > set ftp:ssl-shutdown-timeout 5 > set ftp:ssl-use-ccc yes > set ssl:verify-certificate no > set ssl:check-hostname no > cd IN/DAYTRADE > put test.csv > EOF > > lftp -vvv -f commands > > echo "TRY 2" > > cat > commands <<EOF > open 64.15.218.149 > user etcq 'mB8&g\$ss' > set ftp:ssl-allow yes > set ftp:ssl-allow-anonymous yes > set ftp:ssl-auth SSL > set ftp:ssl-data-use-keys yes > set ftp:ssl-force yes > set ftp:ssl-protect-data no > set ftp:ssl-protect-fxp yes > set ftp:ssl-protect-list yes > set ftp:ssl-shutdown-timeout 5 > set ftp:ssl-use-ccc yes > set ssl:verify-certificate no > set ssl:check-hostname no > cd IN/DAYTRADE > put test.csv > EOF > > lftp -vvv -f commands > > ----------------------------------- > > > VERSION > LFTP | Version 4.0.2 | Copyright (c) 1996-2009 Alexander V. Lukyanov > > LFTP is free software: you can redistribute it and/or modify > it under the terms of the GNU General Public License as published by > the Free Software Foundation, either version 3 of the License, or > (at your option) any later version. > > This program is distributed in the hope that it will be useful, > but WITHOUT ANY WARRANTY; without even the implied warranty of > MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > GNU General Public License for more details. > > You should have received a copy of the GNU General Public License > along with LFTP. If not, see <http://www.gnu.org/licenses/>. > > Send bug reports and questions to the mailing list <[email protected]>. > > Libraries used: Readline 6.0, GnuTLS 2.8.5, zlib 1.2.3.3 > TRY 1 > put: Access failed: 534 Policy requires SSL. (test.csv) > TRY 2 > put: Access failed: 535 Protection level negotiation failed. (test.csv) > > --------------------------------------- > > > On 4/2/10 9:07 AM, Alexander V. Lukyanov wrote: > >On Wed, Mar 31, 2010 at 04:46:35PM -0700, Andrew Athan wrote: > > > >>I am having a really really hard time getting lftp to do a secure file > >>transfer against an IIS FTPS server. I am also having a hard time > >>following the code. > >> > >Please provide a debug log of lftp. > > > >
