Article View: borland.public.cppbuilder.nativeapi
Article #15010Re: Valid FTPCommand
From: Bob Gonder
Date: Mon, 21 Jul 2003 06:57
Date: Mon, 21 Jul 2003 06:57
19 lines
1820 bytes
1820 bytes
Boguslaw Fries wrote: >I have to know which FTPcommand API function are valid when I use >FTPCommand > >For example is PUT <file> is valid? > >I experienced with: I use "PUT file" argument of FTPcommand API function, I >obtain positive answer but no file are copied > Go here http://support.microsoft.com/default.aspx?scid=kb;en-us;238273 and download ftpcmd.exe It is a self-extracting file that has a cpp file showing how to use FTPCommand. It shows how to do a LIST command, but PUT would be similar only with InternetWriteFile instead of InternetReadFile. If all that is too confusing, have a look at bResult = FtpPutFile(hFTPSession,from,to,FTP_TRANSFER_TYPE_BINARY,0);
Technical Details
Message-ID:
<ab3nhvoe7csikl0mjdvgsuiphobdt1cgko@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f1b83b9$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,9a553bc4c2bb0f23 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-21 00:09:22 PST From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Valid FTPCommand Date: Sun, 20 Jul 2003 23:57:58 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <ab3nhvoe7csikl0mjdvgsuiphobdt1cgko@4ax.com> References: <3f1b83b9$1@newsgroups.borland.com> X-Newsreader: Forte Agent 1.91/32.564 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.31.164.216 X-Trace: newsgroups.borland.com 1058770676 67.31.164.216 (20 Jul 2003 23:57:56 -0700) Lines: 23 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail