|
-
Feb 16th, 2005, 09:49 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] - Simple FTP
I just need a simple FTP in .NET to send a file. Where to start? Basically, I already have an application built and when I change settings in this application I need to "send" the updated INI file via FTP.
Last edited by birthjay; Feb 16th, 2005 at 04:07 PM.
Reason: Resolved
-
Feb 16th, 2005, 10:00 AM
#2
Re: Simple FTP
start here... most of the work is done for you already...
http://support.microsoft.com/default...b;en-us;832679
-
Feb 16th, 2005, 10:15 AM
#3
Frenzied Member
Re: Simple FTP
You could probably find some better and examples to follow for doing this if you search the forums for FTP.
I built a nifty little ftp client not too long ago with one of the examples I found on the forums. I'll try to find it and post back.
Squirrelly1
Now happily married and still crankin' away at the keyboard.  Life is grand for a coder, no?
-
Feb 16th, 2005, 10:27 AM
#4
Thread Starter
Fanatic Member
Re: Simple FTP
I am wondering if I can just use a simple .NET form to work through the command line FTP. Is that possible? You know...you can go to the command prompt and type "ftp" and then you are at the ftp prompt...then you type:
ftp: open ftp.yoursite.com
What do think about that approach?
-
Feb 16th, 2005, 10:40 AM
#5
Re: Simple FTP
i think its easier to use the MSDN code... its a full class.. you just need to copy and paste it to a class module and then you can use it
-
Feb 16th, 2005, 10:47 AM
#6
Frenzied Member
Re: Simple FTP
I'm not sure which one I used when I created my ftp dll. I'll have to take a look at it later.
BTW... Can you not download the code in one file and save the headache of copying everything manually?
squirrelly1
Now happily married and still crankin' away at the keyboard.  Life is grand for a coder, no?
-
Feb 16th, 2005, 04:08 PM
#7
Thread Starter
Fanatic Member
Re: [RESOLVED] - Simple FTP
The link for Microsoft worked great. Work is already done for the most part like you said K.
-
Apr 6th, 2005, 05:15 AM
#8
Re: [RESOLVED] - Simple FTP
I can't get the code to work.
The line:
VB Code:
For i = 0 To ((len - 1) And (partCount <= 6))
in the function CreateDataSocket.
This doesn't work. I have Option Strict turned On and it says cannot convert Boolean to Integer and it blue squiggles PartCount<=6
But if you look at the code it's wrong.
Have you ever seen:
??? nor have I 
Woka
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|