Re: Send File to Remote Server

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

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]
>
>
>
>



Relevant Pages

  • Re: Controling Event Sequencing...
    ... the framework will post a message to the message queue ... does not execute after the event is fired.... ... control exposes this event to the programmer to allow him / her to ... these system / control events will immidiately fire after the ...
    (microsoft.public.dotnet.languages.vb)
  • Re: More Before-The-Fact-Isms II, blocking viruses and spyware through NTFS
    ... > BUILTIN\Administrators Full Control ... > BUILTIN\CREATOR OWNER Special (Full Control except Execute) for Files ... but still can't launch any executables. ...
    (microsoft.public.security)
  • Re: Controling Event Sequencing...
    ... need the OnPostClick event fire after the OnClick event is completely ... event queue and have it execute AFTER the OnClick in completely done ... ... control exposes this event to the programmer to allow him / her to ... I inherit from this and create another button... ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Javascript Server-side Action Questions..
    ... How do you set the values from server-side to a client-side ... control or how do you execute a javascript function without a button click ... What ever asp.net control post back to your server even handler add ... there you can write your checkbox selection logic. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Controling Event Sequencing...
    ... need the OnPostClick event fire after the OnClick event is completely ... event queue and have it execute AFTER the OnClick in completely done ... ... control exposes this event to the programmer to allow him / her to ... So, what I want to be able to do, is create a base class object for this ...
    (microsoft.public.dotnet.languages.vb)