Ftp upload and download with progress
Ftp upload and download with progress
Ftp upload and download with progress
Ftp upload and download with progress
Ftp upload and download with progress
Ftp upload and download with progress Ftp upload and download with progress Ftp upload and download with progress Ftp upload and download with progress Ftp upload and download with progress Ftp upload and download with progress Ftp upload and download with progress Ftp upload and download with progress
Ftp upload and download with progress Ftp upload and download with progress
Ftp upload and download with progress
Go Back  Xtreme Visual Basic Talk > > > Ftp upload and download with progress


Reply
 
Thread Tools Display Modes
  #1  
Old 02-19-2011, 10:29 AM
farazZone farazZone is offline
Freshman
 
Join Date: Jul 2008
Posts: 29
Default Ftp upload and download with progress


I am trying to upload and download multiple files to a ftp server with there progress. I have read and tried many of the solutions in different articles but can not get it to work.

It has been more then a week and i could not get it to work. Please provide some code for this.
Reply With Quote
  #2  
Old 02-19-2011, 11:55 AM
snarfblam's Avatar
snarfblamFtp upload and download with progress snarfblam is offline
Senior Contributor

Forum Leader
* Expert *
 
Join Date: Apr 2005
Location: USA
Posts: 896
Default

Quote:
Originally Posted by farazZone View Post
Please provide some code for this.
We don't generally hand code out like that here.

Quote:
Originally Posted by farazZone View Post
I have read and tried many of the solutions in different articles but can not get it to work.
You should start by telling us what you have tried (preferably include a link if applicable), and explaining what the problem actually was. We can't help you solve the problem until we know what it is.
__________________
C# _VB.NET _
Reply With Quote
  #3  
Old 02-24-2011, 11:03 AM
farazZone farazZone is offline
Freshman
 
Join Date: Jul 2008
Posts: 29
Default

To download a file and display progress

My.Computer.Network.DownloadFile

My.Computer.Network.DownloadFile("ftp://example.com/file.txt", "c:\myfile.txt", "", "", True , 1000, True)


To upload a file and display progress

My.Computer.Network.UploadFile

My.Computer.Network.UploadFile ("c:\myfile.txt", "ftp://example.com/file.txt", "", "", True , 1000)


The download works but as soon as i try to upload a file it says "404 server not found" i am still trying to find out why this happens.

second i use this link (http://social.msdn.microsoft.com/For...e-d6ff13b39b09) the background worker gives an error that the thread is not in STA mode.
Reply With Quote
Reply

Tags
dowload, ftp, progress, progress bar, upload


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Ftp upload and download with progress
Ftp upload and download with progress
Ftp upload and download with progress Ftp upload and download with progress
Ftp upload and download with progress
Ftp upload and download with progress
Ftp upload and download with progress Ftp upload and download with progress Ftp upload and download with progress Ftp upload and download with progress Ftp upload and download with progress Ftp upload and download with progress Ftp upload and download with progress
Ftp upload and download with progress
Ftp upload and download with progress
 
Ftp upload and download with progress
Ftp upload and download with progress
 
-->