aarons34
asked on
FTP using VB.NET
Hi
I am re-designing a solution that I had before in Access 2k into Visual Studio.NET
In the old program, I had ftp tasks to get, put and compare files in a ftp server. The old program uses DOS shell routines to perform those tasks and what basically does is to connect to the ftp server, change directories, downloads all text files from those different directories and close the connection when it's done. I would like to include those ftp tasks into the code instead of the DOS shells. I know is posible to do it but I don't have the expertise.
At the end, I would like to only call thye ftp-like commands as functions:
Sub Function mget () '......etc...
End function
and so on
open
user
pwd
mget
cd
put
lcd
Below is small sample of what I actually do with the DOS shell:
'-------Get my files-----------
cd <remote directory>
lcd <local directory>
mget *
This is very urgent and if someone could include ready-to-use code I would really appreciate it.
Thanks!
I am re-designing a solution that I had before in Access 2k into Visual Studio.NET
In the old program, I had ftp tasks to get, put and compare files in a ftp server. The old program uses DOS shell routines to perform those tasks and what basically does is to connect to the ftp server, change directories, downloads all text files from those different directories and close the connection when it's done. I would like to include those ftp tasks into the code instead of the DOS shells. I know is posible to do it but I don't have the expertise.
At the end, I would like to only call thye ftp-like commands as functions:
Sub Function mget () '......etc...
End function
and so on
open
user
pwd
mget
cd
put
lcd
Below is small sample of what I actually do with the DOS shell:
'-------Get my files-----------
cd <remote directory>
lcd <local directory>
mget *
This is very urgent and if someone could include ready-to-use code I would really appreciate it.
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Soory for the delay of my response, but I needed some time to review all the answers to try to be as fair as possible.
Anyways, thank you all!
-------------------------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------
Timbo87:
With some tweaks on the code I have it up and running, thanks!
Dhaest:
The samples you suggested were very helpful!
tpwells:
Sorry, I'm not interested on buying but in developing. No money to pay licensing fees to someone else's app. =(
Thanks for the ad though
Anyways, thank you all!
--------------------------
Timbo87:
With some tweaks on the code I have it up and running, thanks!
Dhaest:
The samples you suggested were very helpful!
tpwells:
Sorry, I'm not interested on buying but in developing. No money to pay licensing fees to someone else's app. =(
Thanks for the ad though
Maybe you didn't look at the linked page but Chilkat clearly states that the FTP control I linked to is completely free for commercial and non-comercial use completely royalty free(or never would have posted it, I hate paying for things you can do for free) :) . And its easy to use and very self explainitory.
ASKER
tpwells,
You are right, it's 'free' to use, but I considered 'paying' for 'free' marketing when I use a control that will say Chilkat instead of my own name or brand =)
Thanks though
You are right, it's 'free' to use, but I considered 'paying' for 'free' marketing when I use a control that will say Chilkat instead of my own name or brand =)
Thanks though
ah ok i thought you where looking for a control to use not developing your own. :)
http://www.chilkatsoft.com/ChilkatFtp.asp
Hope this helps