Article View: borland.public.cppbuilder.internet.socket
Article #1457Help with FTP Component using Indy 9 with BCB 2006!
From: Carl Danley
Date: Wed, 24 Jan 2007 21:01
Date: Wed, 24 Jan 2007 21:01
12 lines
1570 bytes
1570 bytes
I need some help with some scripting in reference to uploading a file with the TIdFTP component... I am not sure as to how to upload the file programmatically... I dont know how to use a file stream and I need help with this topic... I remember in BCB 4.0 that there was a Upload function that was something like: "FTP->Upload(<File Location> , <File Name>);" Could someone possibly write a sample piece of code to upload a file that a user selected from an OpenDialog component??? It would be much appreciated! For your info, I am using the latest version of Borland Developer Studio 2006 and I am using Borland C++ Builder 2006 with Indy 9 to program... Thank you, Carl
Technical Details
Message-ID:
<45b7c917@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,42874b3acbbae875,start X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Carl Danley" <cdanley@codebyter.com> From: "Carl Danley" <cdanley@codebyter.com> Newsgroups: borland.public.cppbuilder.internet.socket Subject: Help with FTP Component using Indy 9 with BCB 2006! Date: Wed, 24 Jan 2007 16:01:53 -0500 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 NNTP-Posting-Host: 68.233.59.189 Message-ID: <45b7c917@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1169672471 68.233.59.189 (24 Jan 2007 13:01:11 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail