Re: Send File to Remote Server

From: Raghavendra Mudugal (RaghavendraMudugal_at_discussions.microsoft.com)
Date: 02/02/05


Date: Tue, 1 Feb 2005 21:05:04 -0800

ok,. It really helps me if i have the code sample on sending the file to
remote server.

So, if i click the button, i will be having the .txt file in the app.path
folder.
This file should be sent to the remote server.

Many Thanks

"Karl E. Peterson" wrote:

> For simply sending a file to 2000/2003 server, I most often write an FTP script out
> to file, then execute it on the fly. That's certainly the quickest way to accomplish
> this. You can gain more control, often at the expense of maintainability, by using
> in-process controls or DLLs but you really need to justify the extra effort.
> --
> [Microsoft Basic: 1976-2001, RIP]
>
>
> Raghavendra Mudugal wrote:
> > actually, i have been using WININET.dll file fot http post and gave a
> > try in Inet
> > control in executing the FTP command. but i guess i made a silly
> > attempt. i think
> > there is a better way for mine. and none of my logics worked
> >
> > "Karl E. Peterson" wrote:
> >
> >> Raghavendra Mudugal wrote:
> >>> I want to send the .txt file to the remote server throught the
> >>> internet written in visual basic. Let me know if anyone have the
> >>> working code for this.
> >>
> >> What kind of server? What protocol are you planning to use? Do you
> >> have permission? --
> >> [Microsoft Basic: 1976-2001, RIP]
>
>
>
>


Quantcast