Article View: borland.public.cppbuilder.internet.web
Article #1193Re: My Network Places
From: Remy Lebeau (TeamB)
Date: Mon, 25 Jul 2005 23:14
Date: Mon, 25 Jul 2005 23:14
51 lines
2468 bytes
2468 bytes
"Blake Young" <blakeyoung@mail.utexas.edu> wrote in message
news:42e5495c$1@newsgroups.borland.com...
> Well, I have successfully written the code to move the file
> to the desired folder, but it is not having the proper effect.
As well it shouldn't. I already told you that you can't use normal file
operations for what you are trying to accomplish. Please read my other
reply.
> That is, the file is not actually being uploaded after it is moved into
the folder.
It is not a physical folder to begin with. The entire Network Neighborhood
subsystem is not a part of the file system at all. It is a virtual system.
You cannot simply move a file into it programmably like you can with folders
on the file system .
> if (!CopyFile("version.txt", versionDest.c_str(), false))
> {
> DWORD error = GetLastError();
> }
What is CopyFile() actually returning? What is GetLastError() returning?
> I have checked and the CopyFile function succeeds
I doubt that.
> but the file does not end up in the "winboxer @ ftp.tripod.com" directory
Of course not. It is not a real folder to begin with.
> Is it not possible to upload files to my account this way?
No, it is not.
> I have tried using Indy components to upload files directly via the IdFTP
> component
That is fine.
> but I have had no luck for unknown reasons (see internet.socket
> if you're curious).
The FTP upload speed? You said that you were able to transfer fine, just
slow. That is not the same thing as not being able to transfer at all.
Gambit
Technical Details
Message-ID:
<42e572ed$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!peer01.west.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<42e540e6$1@newsgroups.borland.com> <42e5495c$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: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.web References: <42e540e6$1@newsgroups.borland.com> <42e5495c$1@newsgroups.borland.com> Subject: Re: My Network Places Date: Mon, 25 Jul 2005 16:14:11 -0700 Lines: 53 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <42e572ed$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1122333421 68.69.17.41 (25 Jul 2005 16:17:01 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!peer01.west.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail