Connecting Tech Pros Worldwide Help | Site Map

FTP in VB.NET

  #1  
Old November 20th, 2005, 01:24 AM
Vijay Balki
Guest
 
Posts: n/a
I am looking for links.. tips.. articles that explain how to implement FTP
in VB.NET, this should help me upload files to a specific location on server

Thanks
VJ


  #2  
Old November 20th, 2005, 01:24 AM
Herfried K. Wagner [MVP]
Guest
 
Posts: n/a

re: FTP in VB.NET


"Vijay Balki" <vijayb@softech-usa.com> schrieb:[color=blue]
> I am looking for links.. tips.. articles that explain how to
> implement FTP in VB.NET, this should help me upload files
> to a specific location on server[/color]

FTP:

VB .NET:

http://www.freevbcode.com/ShowCode.Asp?ID=4655
http://www.allapi.net/downloads/NetFTP.zip
http://www.visualbuilder.com/article...le.asp?id=1234

C#:

http://www.csharphelp.com/archives/archive9.html
http://www.codeproject.com/csharp/FTPDriver1.asp

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet


  #3  
Old November 20th, 2005, 01:24 AM
Jay B. Harlow [MVP - Outlook]
Guest
 
Posts: n/a

re: FTP in VB.NET


VJ,
Matthew MacDonald's book "Microsoft Visual Basic.NET Programmer's Cookbook"
from MS Press has a topic that shows how to create an FtpClient with VB.NET.

Hope this helps
Jay

"Vijay Balki" <vijayb@softech-usa.com> wrote in message
news:eU9bMu9cDHA.1032@TK2MSFTNGP11.phx.gbl...[color=blue]
> I am looking for links.. tips.. articles that explain how to implement FTP
> in VB.NET, this should help me upload files to a specific location on[/color]
server[color=blue]
>
> Thanks
> VJ
>
>[/color]


  #4  
Old November 20th, 2005, 01:24 AM
Vijay Balki
Guest
 
Posts: n/a

re: FTP in VB.NET


Thanks guys.. I am looking into them. I will ask if I have any more
questions

VJ

"Vijay Balki" <vijayb@softech-usa.com> wrote in message
news:eU9bMu9cDHA.1032@TK2MSFTNGP11.phx.gbl...[color=blue]
> I am looking for links.. tips.. articles that explain how to implement FTP
> in VB.NET, this should help me upload files to a specific location on[/color]
server[color=blue]
>
> Thanks
> VJ
>
>[/color]


  #5  
Old November 20th, 2005, 01:25 AM
Joe Fallon
Guest
 
Posts: n/a

re: FTP in VB.NET


http://www.gotdotnet.com/Community/U...6-64B987947C20

This is an excellent ftp class.

Sample code:

Dim objFTP As New FTP
Dim myDir, NewPath As String

myDir = Path.GetDirectoryName(strFullPath) & "\"

'rename existing file before downloading new copy
If File.Exists(strFullPath) = True Then
NewPath = myDir & Format(Now(), "yyyyMMddHHmmss") & " " &
Path.GetFileName(strFullPath)
're-name the file
File.Move(strFullPath, NewPath)
End If

objFTP.RemoteHost = strSite
objFTP.RemotePath = strSiteDir
'slashes are optional at beginning and end of RemotePath!
objFTP.RemoteUser = strUID
objFTP.RemotePassword = strPwd
objFTP.RemotePort = 21

If objFTP.Login() = True Then
objFTP.SetBinaryMode(True)
objFTP.DownloadFile(strSiteFileName, strFullPath)
'if file exists, it is overwritten without warning.
End If

--
Joe Fallon




"Vijay Balki" <vijayb@softech-usa.com> wrote in message
news:eU9bMu9cDHA.1032@TK2MSFTNGP11.phx.gbl...[color=blue]
> I am looking for links.. tips.. articles that explain how to implement FTP
> in VB.NET, this should help me upload files to a specific location on[/color]
server[color=blue]
>
> Thanks
> VJ
>
>[/color]


  #6  
Old November 20th, 2005, 01:26 AM
Herfried K. Wagner [MVP]
Guest
 
Posts: n/a

re: FTP in VB.NET


Hello,

"Vijay Balki" <vijayb@softech-usa.com> schrieb:[color=blue]
> I am looking for links.. tips.. articles that explain how to implement
> FTP in VB.NET, this should help me upload files to a specific
> location on server[/color]

In addition to my previous post:

There is a nice (commercial) FTP component available at
http://www.abderaware.com/.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet


  #7  
Old November 20th, 2005, 01:33 AM
Vijay Balki
Guest
 
Posts: n/a

re: FTP in VB.NET


Thanks guys.. the below links was really helpful in Integrating FTP to a VB
or C# clients I have.

VJ

"Vijay Balki" <vijayb@softech-usa.com> wrote in message
news:eU9bMu9cDHA.1032@TK2MSFTNGP11.phx.gbl...[color=blue]
> I am looking for links.. tips.. articles that explain how to implement FTP
> in VB.NET, this should help me upload files to a specific location on[/color]
server[color=blue]
>
> Thanks
> VJ
>
>[/color]


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP in VB.Net Paul answers 2 November 22nd, 2005 01:33 AM
FTP in VB.Net Paul answers 0 November 22nd, 2005 01:33 AM
FTP in VB.Net Paul answers 1 November 17th, 2005 07:13 PM
FTP in VB.Net Paul answers 1 July 19th, 2005 04:18 AM