Article View: comp.lang.basic.visual.3rdparty
Article #96How i Make ftp with Visual basic ???
From: Amir Alon
Date: Mon, 20 Dec 1999 00:00
Date: Mon, 20 Dec 1999 00:00
28 lines
1840 bytes
1840 bytes
hello all !
i need to connect my program to to me ftp site, to get from there files and
then change
my program according to them.(in run time )
i try to do it with the control " Internet transfer (Inet)" and the results
is that i success to conect to the site
but when im try to download the file i get an error message and the download
failed.
this is my code - coomand3 is a button.
please help my to solve my problem !!!!!!!!
Private Sub Command3_Click()
Dim Ftp_Address As String
Dim File_Name As String
Inet1.URL = "ftp://ftp.sample.com"
Inet1.Password = "pass"
Inet1.UserName = "user"
Inet1.Execute , "GET Test.txt C:\WINDOWS\Desktop\Test2.txt"
End Sub
Technical Details
Message-ID:
<83m1kk$5ft$1@news2.inter.net.il>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c14,ecb7d427ecf16833,start X-Google-Attributes: gid111c14,public X-Google-Thread: 110e3b,ecb7d427ecf16833,start X-Google-Attributes: gid110e3b,public X-Google-Thread: 1143a7,ecb7d427ecf16833,start X-Google-Attributes: gid1143a7,public X-Google-Thread: f5f6f,ecb7d427ecf16833,start X-Google-Attributes: gidf5f6f,public X-Google-Thread: 107824,ecb7d427ecf16833,start X-Google-Attributes: gid107824,public From: "Amir Alon" <amir_aln@netvision.net.il> Subject: How i Make ftp with Visual basic ??? Date: 1999/12/20 Message-ID: <83m1kk$5ft$1@news2.inter.net.il> X-Deja-AN: 563160913 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 X-Complaints-To: abuse@inter.net.il X-Trace: news2.inter.net.il 945719764 5629 213.8.14.95 (20 Dec 1999 19:56:04 GMT) Organization: Internet Gold, ISRAEL X-MSMail-Priority: Normal NNTP-Posting-Date: 20 Dec 1999 19:56:04 GMT Newsgroups: comp.lang.basic.visual.3rdparty,comp.lang.basic.visual.database,comp.lang.basic.visual.misc,fj.comp.lang.visualbasic,no.it.programmering.visual-basic