🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1191

Re: My Network Places

#1191
From: Blake Young
Date: Mon, 25 Jul 2005 20:19
23 lines
2008 bytes
Well, I have successfully written the code to move the file to the desired 
folder, but it is not having the proper effect.  That is, the file is not 
actually being uploaded after it is moved into the folder.  For example:

AnsiString rootDest = "C:\\Documents and Settings\\Blake 
Young\\NetHood\\winboxer @ ftp.tripod.com\\";

    Memo1->Lines->Add("Uploading version information...");
    AnsiString versionDest = rootDest + "version.txt";
    if (!CopyFile("version.txt", versionDest.c_str(), false))
    {
        DWORD error = GetLastError();
    }

I have checked and the CopyFile function succeeds, but the file does not end 
up in the "winboxer @ ftp.tripod.com" directory (and therefore it is not 
uploaded and doesn't appear in my Tripod account).  Is it not possible to 
upload files to my account this way?  I have tried using Indy components to 
upload files directly via the IdFTP component, but I have had no luck for 
unknown reasons (see internet.socket if you're curious).

Thanks
Blake 
Technical Details
Message-ID: <42e5495c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newscon02.news.prodigy.com!prodigy.net!nx01.iad01.newshosting.com!newshosting.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42e540e6$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,1c34a33aa7f8db52
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Blake Young" <blakeyoung@mail.utexas.edu>
Newsgroups: borland.public.cppbuilder.internet.web
References: <42e540e6$1@newsgroups.borland.com>
Subject: Re: My Network Places
Date: Mon, 25 Jul 2005 15:19:33 -0500
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 65.70.207.103
Message-ID: <42e5495c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1122322780 65.70.207.103 (25 Jul 2005 13:19:40 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newscon02.news.prodigy.com!prodigy.net!nx01.iad01.newshosting.com!newshosting.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail