473,756 Members | 8,904 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sending a path to a FILE control ( it has to be possible! )

Hi all.. here s my problem ( maybe some of you saw me on other groups, but i
cant find the solution !! )
I have to upload a file to an external site, so, i made a .vbs file , that
logins to the site, and then i have to select the file to upload.. i used
sendkeys.. and i worked perfect.. BUT ... the computer must be locked for
security ( obviusly ) reazons.. so..i think this probable solutions to
unlock the computer and run the application .. or find
another way to fill the FILE control on that site...

- I read some groups, and i found a SendMessage() function, that sends
characters to an especific application, but dont know wich language is it...
and if it runs on a locked computer.
- I can do the click on BROWSE button, but how can i select a file on the
browse window ? ( without using SENDKEYS ) .. i can do a VB6 application
that runs the URL in a webcontrol, but cannot acces to that BROWSER window
right?
- Is there any browser with the security bug that i can write in the VALUE
property of the FILE control?? or is anyway to set that security on
IExplorer?
- .NET .... is there anyway to do this in .NET (ASP.NET or VB.NET) ? i m
begginer but if it could be possible.. i learn .NET in one hour !! lol..
Any idea would be really help here..

Thank you all.

--
CHIN@KD
www.racingclub.com.ar

Jul 21 '05 #1
20 2511
System.Net.WebC lient allows to upload a file to particular page. See the SDK
documentation for a sample.

Patrice
--

"CHIN@KD" <ra**********@y ahoo.com.ar> a écrit dans le message de
news:uV******** ******@TK2MSFTN GP15.phx.gbl...
Hi all.. here s my problem ( maybe some of you saw me on other groups, but i cant find the solution !! )
I have to upload a file to an external site, so, i made a .vbs file , that
logins to the site, and then i have to select the file to upload.. i used
sendkeys.. and i worked perfect.. BUT ... the computer must be locked for
security ( obviusly ) reazons.. so..i think this probable solutions to
unlock the computer and run the application .. or find
another way to fill the FILE control on that site...

- I read some groups, and i found a SendMessage() function, that sends
characters to an especific application, but dont know wich language is it... and if it runs on a locked computer.
- I can do the click on BROWSE button, but how can i select a file on the
browse window ? ( without using SENDKEYS ) .. i can do a VB6 application
that runs the URL in a webcontrol, but cannot acces to that BROWSER window
right?
- Is there any browser with the security bug that i can write in the VALUE property of the FILE control?? or is anyway to set that security on
IExplorer?
- .NET .... is there anyway to do this in .NET (ASP.NET or VB.NET) ? i m
begginer but if it could be possible.. i learn .NET in one hour !! lol..
Any idea would be really help here..

Thank you all.

--
CHIN@KD
www.racingclub.com.ar

Jul 21 '05 #2
Thanx Patrice !!!

But this app works on the Client.. and i dont have access to the server
site... so.. i only can navigate their site and find out how to put the path
on the file control !!!

"Patrice" <no****@nowhere .com> wrote in message
news:uB******** ******@TK2MSFTN GP15.phx.gbl...
System.Net.WebC lient allows to upload a file to particular page. See the SDK documentation for a sample.

Patrice
--

"CHIN@KD" <ra**********@y ahoo.com.ar> a écrit dans le message de
news:uV******** ******@TK2MSFTN GP15.phx.gbl...
Hi all.. here s my problem ( maybe some of you saw me on other groups, but
i
cant find the solution !! )
I have to upload a file to an external site, so, i made a .vbs file ,

that logins to the site, and then i have to select the file to upload.. i used sendkeys.. and i worked perfect.. BUT ... the computer must be locked for security ( obviusly ) reazons.. so..i think this probable solutions to
unlock the computer and run the application .. or find
another way to fill the FILE control on that site...

- I read some groups, and i found a SendMessage() function, that sends
characters to an especific application, but dont know wich language is

it...
and if it runs on a locked computer.
- I can do the click on BROWSE button, but how can i select a file on the browse window ? ( without using SENDKEYS ) .. i can do a VB6 application
that runs the URL in a webcontrol, but cannot acces to that BROWSER window right?
- Is there any browser with the security bug that i can write in the

VALUE
property of the FILE control?? or is anyway to set that security on
IExplorer?
- .NET .... is there anyway to do this in .NET (ASP.NET or VB.NET) ? i m begginer but if it could be possible.. i learn .NET in one hour !! lol..
Any idea would be really help here..

Thank you all.

--
CHIN@KD
www.racingclub.com.ar


Jul 21 '05 #3
I'm not sure to have the whole picture. If I understood you are using a web
app that let's you upload a file. Instead of doing this yourself you would
like to have an app doing this for you ?

You have nothing to change or do server side. You'll have a client side .NET
app that uses System.Net.WebC lient to post a file to the server side page.
You could also ask them for possible alternate methods (they may have FTP
access ?)

Patrice
--

"CHIN@KD" <ra**********@y ahoo.com.ar> a écrit dans le message de
news:ec******** ******@TK2MSFTN GP10.phx.gbl...
Thanx Patrice !!!

But this app works on the Client.. and i dont have access to the server
site... so.. i only can navigate their site and find out how to put the path on the file control !!!

"Patrice" <no****@nowhere .com> wrote in message
news:uB******** ******@TK2MSFTN GP15.phx.gbl...
System.Net.WebC lient allows to upload a file to particular page. See the SDK
documentation for a sample.

Patrice
--

"CHIN@KD" <ra**********@y ahoo.com.ar> a écrit dans le message de
news:uV******** ******@TK2MSFTN GP15.phx.gbl...
Hi all.. here s my problem ( maybe some of you saw me on other groups, but
i
cant find the solution !! )
I have to upload a file to an external site, so, i made a .vbs file ,

that logins to the site, and then i have to select the file to upload.. i used sendkeys.. and i worked perfect.. BUT ... the computer must be locked for security ( obviusly ) reazons.. so..i think this probable solutions to
unlock the computer and run the application .. or find
another way to fill the FILE control on that site...

- I read some groups, and i found a SendMessage() function, that sends characters to an especific application, but dont know wich language is

it...
and if it runs on a locked computer.
- I can do the click on BROWSE button, but how can i select a file on the browse window ? ( without using SENDKEYS ) .. i can do a VB6 application that runs the URL in a webcontrol, but cannot acces to that BROWSER window right?
- Is there any browser with the security bug that i can write in the

VALUE
property of the FILE control?? or is anyway to set that security on
IExplorer?
- .NET .... is there anyway to do this in .NET (ASP.NET or VB.NET) ? i m
begginer but if it could be possible.. i learn .NET in one hour !!

lol..

Any idea would be really help here..

Thank you all.

--
CHIN@KD
www.racingclub.com.ar



Jul 21 '05 #4
I have to do a batch process that replaces a guy and his clicks .. lol

there is no way to change or access the remote side code.. and no other way
to do that loggin the page and posting the file..

the page is like hotmail, u log in.. select New Mail.. attach a file .. and
then have to select the file... with System.Net.WebC lient, can i emule all
that? .. is possible the website knows if the file comes from
System.Net.WebC lient or from their form ?

sorry for my english :p i m posting in japanesse groups !!! lol

Thnx
"Patrice" <no****@nowhere .com> wrote in message
news:#4******** *****@TK2MSFTNG P14.phx.gbl...
I'm not sure to have the whole picture. If I understood you are using a web app that let's you upload a file. Instead of doing this yourself you would
like to have an app doing this for you ?

You have nothing to change or do server side. You'll have a client side ..NET app that uses System.Net.WebC lient to post a file to the server side page.
You could also ask them for possible alternate methods (they may have FTP
access ?)

Patrice
--

"CHIN@KD" <ra**********@y ahoo.com.ar> a écrit dans le message de
news:ec******** ******@TK2MSFTN GP10.phx.gbl...
Thanx Patrice !!!

But this app works on the Client.. and i dont have access to the server
site... so.. i only can navigate their site and find out how to put the path
on the file control !!!

"Patrice" <no****@nowhere .com> wrote in message
news:uB******** ******@TK2MSFTN GP15.phx.gbl...
System.Net.WebC lient allows to upload a file to particular page. See the
SDK
documentation for a sample.

Patrice
--

"CHIN@KD" <ra**********@y ahoo.com.ar> a écrit dans le message de
news:uV******** ******@TK2MSFTN GP15.phx.gbl...
> Hi all.. here s my problem ( maybe some of you saw me on other
groups,
but
i
> cant find the solution !! )
>
>
> I have to upload a file to an external site, so, i made a .vbs file
, that
> logins to the site, and then i have to select the file to upload.. i

used
> sendkeys.. and i worked perfect.. BUT ... the computer must be
locked for
> security ( obviusly ) reazons.. so..i think this probable solutions
to > unlock the computer and run the application .. or find
> another way to fill the FILE control on that site...
>
> - I read some groups, and i found a SendMessage() function, that

sends > characters to an especific application, but dont know wich language is it...
> and if it runs on a locked computer.
> - I can do the click on BROWSE button, but how can i select a file on the
> browse window ? ( without using SENDKEYS ) .. i can do a VB6 application > that runs the URL in a webcontrol, but cannot acces to that BROWSER

window
> right?
> - Is there any browser with the security bug that i can write in
the VALUE
> property of the FILE control?? or is anyway to set that security on
> IExplorer?
> - .NET .... is there anyway to do this in .NET (ASP.NET or VB.NET)

? i
m
> begginer but if it could be possible.. i learn .NET in one hour !!

lol.. >
>
> Any idea would be really help here..
>
> Thank you all.
>
> --
> CHIN@KD
> www.racingclub.com.ar
>
>
>



Jul 21 '05 #5
Another question: if i log in a site.. and put the page in an object ,
modify some controls of the form... and submit again that page to the
server.. how the server knows when i changed a file control for a text
control????

tnx.-
"Patrice" <no****@nowhere .com> wrote in message
news:#4******** *****@TK2MSFTNG P14.phx.gbl...
I'm not sure to have the whole picture. If I understood you are using a web app that let's you upload a file. Instead of doing this yourself you would
like to have an app doing this for you ?

You have nothing to change or do server side. You'll have a client side ..NET app that uses System.Net.WebC lient to post a file to the server side page.
You could also ask them for possible alternate methods (they may have FTP
access ?)

Patrice
--

"CHIN@KD" <ra**********@y ahoo.com.ar> a écrit dans le message de
news:ec******** ******@TK2MSFTN GP10.phx.gbl...
Thanx Patrice !!!

But this app works on the Client.. and i dont have access to the server
site... so.. i only can navigate their site and find out how to put the path
on the file control !!!

"Patrice" <no****@nowhere .com> wrote in message
news:uB******** ******@TK2MSFTN GP15.phx.gbl...
System.Net.WebC lient allows to upload a file to particular page. See the
SDK
documentation for a sample.

Patrice
--

"CHIN@KD" <ra**********@y ahoo.com.ar> a écrit dans le message de
news:uV******** ******@TK2MSFTN GP15.phx.gbl...
> Hi all.. here s my problem ( maybe some of you saw me on other
groups,
but
i
> cant find the solution !! )
>
>
> I have to upload a file to an external site, so, i made a .vbs file
, that
> logins to the site, and then i have to select the file to upload.. i

used
> sendkeys.. and i worked perfect.. BUT ... the computer must be
locked for
> security ( obviusly ) reazons.. so..i think this probable solutions
to > unlock the computer and run the application .. or find
> another way to fill the FILE control on that site...
>
> - I read some groups, and i found a SendMessage() function, that

sends > characters to an especific application, but dont know wich language is it...
> and if it runs on a locked computer.
> - I can do the click on BROWSE button, but how can i select a file on the
> browse window ? ( without using SENDKEYS ) .. i can do a VB6 application > that runs the URL in a webcontrol, but cannot acces to that BROWSER

window
> right?
> - Is there any browser with the security bug that i can write in
the VALUE
> property of the FILE control?? or is anyway to set that security on
> IExplorer?
> - .NET .... is there anyway to do this in .NET (ASP.NET or VB.NET)

? i
m
> begginer but if it could be possible.. i learn .NET in one hour !!

lol.. >
>
> Any idea would be really help here..
>
> Thank you all.
>
> --
> CHIN@KD
> www.racingclub.com.ar
>
>
>



Jul 21 '05 #6
System.Net.WebC lient is used client side (NOT server side). It's purpose is
to upload (POST) a file to a particular page. This is done client side...

It should work. Check the documentation for this class and give it a try...

Patrice

--

"CHIN@KD" <ra**********@y ahoo.com.ar> a écrit dans le message de
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
I have to do a batch process that replaces a guy and his clicks .. lol

there is no way to change or access the remote side code.. and no other way to do that loggin the page and posting the file..

the page is like hotmail, u log in.. select New Mail.. attach a file .. and then have to select the file... with System.Net.WebC lient, can i emule all
that? .. is possible the website knows if the file comes from
System.Net.WebC lient or from their form ?

sorry for my english :p i m posting in japanesse groups !!! lol

Thnx
"Patrice" <no****@nowhere .com> wrote in message
news:#4******** *****@TK2MSFTNG P14.phx.gbl...
I'm not sure to have the whole picture. If I understood you are using a web
app that let's you upload a file. Instead of doing this yourself you would
like to have an app doing this for you ?

You have nothing to change or do server side. You'll have a client side

.NET
app that uses System.Net.WebC lient to post a file to the server side page. You could also ask them for possible alternate methods (they may have FTP access ?)

Patrice
--

"CHIN@KD" <ra**********@y ahoo.com.ar> a écrit dans le message de
news:ec******** ******@TK2MSFTN GP10.phx.gbl...
Thanx Patrice !!!

But this app works on the Client.. and i dont have access to the server site... so.. i only can navigate their site and find out how to put the
path
on the file control !!!

"Patrice" <no****@nowhere .com> wrote in message
news:uB******** ******@TK2MSFTN GP15.phx.gbl...
> System.Net.WebC lient allows to upload a file to particular page. See

the SDK
> documentation for a sample.
>
> Patrice
>
>
> --
>
> "CHIN@KD" <ra**********@y ahoo.com.ar> a écrit dans le message de
> news:uV******** ******@TK2MSFTN GP15.phx.gbl...
> > Hi all.. here s my problem ( maybe some of you saw me on other groups, but
> i
> > cant find the solution !! )
> >
> >
> > I have to upload a file to an external site, so, i made a .vbs
file , that
> > logins to the site, and then i have to select the file to upload..
i used
> > sendkeys.. and i worked perfect.. BUT ... the computer must be
locked for
> > security ( obviusly ) reazons.. so..i think this probable solutions to
> > unlock the computer and run the application .. or find
> > another way to fill the FILE control on that site...
> >
> > - I read some groups, and i found a SendMessage() function, that sends
> > characters to an especific application, but dont know wich
language is > it...
> > and if it runs on a locked computer.
> > - I can do the click on BROWSE button, but how can i select a
file
on the
> > browse window ? ( without using SENDKEYS ) .. i can do a VB6 application
> > that runs the URL in a webcontrol, but cannot acces to that
BROWSER window
> > right?
> > - Is there any browser with the security bug that i can write in

the > VALUE
> > property of the FILE control?? or is anyway to set that security on > > IExplorer?
> > - .NET .... is there anyway to do this in .NET (ASP.NET or

VB.NET) ?
i
m
> > begginer but if it could be possible.. i learn .NET in one hour !!

lol..
> >
> >
> > Any idea would be really help here..
> >
> > Thank you all.
> >
> > --
> > CHIN@KD
> > www.racingclub.com.ar
> >
> >
> >
>
>



Jul 21 '05 #7
I M CODING IN .NET RIGHT NOW !!!!

VB.NET or ASP.NET ??.. or it s the same ??
REALLY REALLY TNX !!!
"Patrice" <no****@nowhere .com> wrote in message
news:#w******** ******@TK2MSFTN GP12.phx.gbl...
System.Net.WebC lient is used client side (NOT server side). It's purpose is to upload (POST) a file to a particular page. This is done client side...

It should work. Check the documentation for this class and give it a try...
Patrice

--

"CHIN@KD" <ra**********@y ahoo.com.ar> a écrit dans le message de
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
I have to do a batch process that replaces a guy and his clicks .. lol

there is no way to change or access the remote side code.. and no other way
to do that loggin the page and posting the file..

the page is like hotmail, u log in.. select New Mail.. attach a file ..

and
then have to select the file... with System.Net.WebC lient, can i emule all
that? .. is possible the website knows if the file comes from
System.Net.WebC lient or from their form ?

sorry for my english :p i m posting in japanesse groups !!! lol

Thnx
"Patrice" <no****@nowhere .com> wrote in message
news:#4******** *****@TK2MSFTNG P14.phx.gbl...
I'm not sure to have the whole picture. If I understood you are using a
web
app that let's you upload a file. Instead of doing this yourself you would like to have an app doing this for you ?

You have nothing to change or do server side. You'll have a client
side .NET
app that uses System.Net.WebC lient to post a file to the server side page. You could also ask them for possible alternate methods (they may have FTP access ?)

Patrice
--

"CHIN@KD" <ra**********@y ahoo.com.ar> a écrit dans le message de
news:ec******** ******@TK2MSFTN GP10.phx.gbl...
> Thanx Patrice !!!
>
> But this app works on the Client.. and i dont have access to the server > site... so.. i only can navigate their site and find out how to put the path
> on the file control !!!
>
> "Patrice" <no****@nowhere .com> wrote in message
> news:uB******** ******@TK2MSFTN GP15.phx.gbl...
> > System.Net.WebC lient allows to upload a file to particular page.
See the
> SDK
> > documentation for a sample.
> >
> > Patrice
> >
> >
> > --
> >
> > "CHIN@KD" <ra**********@y ahoo.com.ar> a écrit dans le message de
> > news:uV******** ******@TK2MSFTN GP15.phx.gbl...
> > > Hi all.. here s my problem ( maybe some of you saw me on other

groups,
> but
> > i
> > > cant find the solution !! )
> > >
> > >
> > > I have to upload a file to an external site, so, i made a .vbs file
,
> that
> > > logins to the site, and then i have to select the file to

upload.. i > used
> > > sendkeys.. and i worked perfect.. BUT ... the computer must be

locked
> for
> > > security ( obviusly ) reazons.. so..i think this probable solutions
to
> > > unlock the computer and run the application .. or find
> > > another way to fill the FILE control on that site...
> > >
> > > - I read some groups, and i found a SendMessage() function,

that sends
> > > characters to an especific application, but dont know wich

language
is
> > it...
> > > and if it runs on a locked computer.
> > > - I can do the click on BROWSE button, but how can i select a

file
on
> the
> > > browse window ? ( without using SENDKEYS ) .. i can do a VB6
application
> > > that runs the URL in a webcontrol, but cannot acces to that

BROWSER > window
> > > right?
> > > - Is there any browser with the security bug that i can write in the
> > VALUE
> > > property of the FILE control?? or is anyway to set that security on > > > IExplorer?
> > > - .NET .... is there anyway to do this in .NET (ASP.NET or

VB.NET)
?
i
> m
> > > begginer but if it could be possible.. i learn .NET in one hour

!! lol..
> > >
> > >
> > > Any idea would be really help here..
> > >
> > > Thank you all.
> > >
> > > --
> > > CHIN@KD
> > > www.racingclub.com.ar
> > >
> > >
> > >
> >
> >
>
>



Jul 21 '05 #8
>I M CODING IN .NET RIGHT NOW !!!!

VB.NET or ASP.NET ??.. or it s the same ??
If you have to ask, you might want to study a bit more before you start
coding.

For help with ASP.Net, see the microsoft.publi c.dotnet.framew ork.aspnet
newsgroup.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"CHIN@KD" <ra**********@y ahoo.com.ar> wrote in message
news:O3******** ******@TK2MSFTN GP14.phx.gbl...I M CODING IN .NET RIGHT NOW !!!!

VB.NET or ASP.NET ??.. or it s the same ??
REALLY REALLY TNX !!!
"Patrice" <no****@nowhere .com> wrote in message
news:#w******** ******@TK2MSFTN GP12.phx.gbl...
System.Net.WebC lient is used client side (NOT server side). It's purpose

is
to upload (POST) a file to a particular page. This is done client side...

It should work. Check the documentation for this class and give it a

try...

Patrice

--

"CHIN@KD" <ra**********@y ahoo.com.ar> a écrit dans le message de
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
> I have to do a batch process that replaces a guy and his clicks .. lol
>
> there is no way to change or access the remote side code.. and no other

way
> to do that loggin the page and posting the file..
>
> the page is like hotmail, u log in.. select New Mail.. attach a file ..

and
> then have to select the file... with System.Net.WebC lient, can i emule all > that? .. is possible the website knows if the file comes from
> System.Net.WebC lient or from their form ?
>
> sorry for my english :p i m posting in japanesse groups !!! lol
>
> Thnx
>
>
> "Patrice" <no****@nowhere .com> wrote in message
> news:#4******** *****@TK2MSFTNG P14.phx.gbl...
> > I'm not sure to have the whole picture. If I understood you are using a > web
> > app that let's you upload a file. Instead of doing this yourself you

would
> > like to have an app doing this for you ?
> >
> > You have nothing to change or do server side. You'll have a client side > .NET
> > app that uses System.Net.WebC lient to post a file to the server side

page.
> > You could also ask them for possible alternate methods (they may have

FTP
> > access ?)
> >
> > Patrice
> > --
> >
> > "CHIN@KD" <ra**********@y ahoo.com.ar> a écrit dans le message de
> > news:ec******** ******@TK2MSFTN GP10.phx.gbl...
> > > Thanx Patrice !!!
> > >
> > > But this app works on the Client.. and i dont have access to the

server
> > > site... so.. i only can navigate their site and find out how to put

the
> > path
> > > on the file control !!!
> > >
> > > "Patrice" <no****@nowhere .com> wrote in message
> > > news:uB******** ******@TK2MSFTN GP15.phx.gbl...
> > > > System.Net.WebC lient allows to upload a file to particular page. See > the
> > > SDK
> > > > documentation for a sample.
> > > >
> > > > Patrice
> > > >
> > > >
> > > > --
> > > >
> > > > "CHIN@KD" <ra**********@y ahoo.com.ar> a écrit dans le message de
> > > > news:uV******** ******@TK2MSFTN GP15.phx.gbl...
> > > > > Hi all.. here s my problem ( maybe some of you saw me on other
> groups,
> > > but
> > > > i
> > > > > cant find the solution !! )
> > > > >
> > > > >
> > > > > I have to upload a file to an external site, so, i made a .vbs

file
> ,
> > > that
> > > > > logins to the site, and then i have to select the file to upload..
i
> > > used
> > > > > sendkeys.. and i worked perfect.. BUT ... the computer must be
> locked
> > > for
> > > > > security ( obviusly ) reazons.. so..i think this probable

solutions
> to
> > > > > unlock the computer and run the application .. or find
> > > > > another way to fill the FILE control on that site...
> > > > >
> > > > > - I read some groups, and i found a SendMessage() function,

that > > sends
> > > > > characters to an especific application, but dont know wich

language
> is
> > > > it...
> > > > > and if it runs on a locked computer.
> > > > > - I can do the click on BROWSE button, but how can i select a

file
> on
> > > the
> > > > > browse window ? ( without using SENDKEYS ) .. i can do a VB6
> > application
> > > > > that runs the URL in a webcontrol, but cannot acces to that

BROWSER
> > > window
> > > > > right?
> > > > > - Is there any browser with the security bug that i can write in > the
> > > > VALUE
> > > > > property of the FILE control?? or is anyway to set that
> > > > > security

on
> > > > > IExplorer?
> > > > > - .NET .... is there anyway to do this in .NET (ASP.NET or

VB.NET)
> ?
> > i
> > > m
> > > > > begginer but if it could be possible.. i learn .NET in one hour !! > > lol..
> > > > >
> > > > >
> > > > > Any idea would be really help here..
> > > > >
> > > > > Thank you all.
> > > > >
> > > > > --
> > > > > CHIN@KD
> > > > > www.racingclub.com.ar
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Jul 21 '05 #9
You would need an ActiveX control or Java applet to do this.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"CHIN@KD" <ra**********@y ahoo.com.ar> wrote in message
news:O3******** ******@TK2MSFTN GP14.phx.gbl...
I M CODING IN .NET RIGHT NOW !!!!

VB.NET or ASP.NET ??.. or it s the same ??
REALLY REALLY TNX !!!
"Patrice" <no****@nowhere .com> wrote in message
news:#w******** ******@TK2MSFTN GP12.phx.gbl...
System.Net.WebC lient is used client side (NOT server side). It's purpose

is
to upload (POST) a file to a particular page. This is done client side...

It should work. Check the documentation for this class and give it a

try...

Patrice

--

"CHIN@KD" <ra**********@y ahoo.com.ar> a écrit dans le message de
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
> I have to do a batch process that replaces a guy and his clicks .. lol
>
> there is no way to change or access the remote side code.. and no other

way
> to do that loggin the page and posting the file..
>
> the page is like hotmail, u log in.. select New Mail.. attach a file ..

and
> then have to select the file... with System.Net.WebC lient, can i emule all > that? .. is possible the website knows if the file comes from
> System.Net.WebC lient or from their form ?
>
> sorry for my english :p i m posting in japanesse groups !!! lol
>
> Thnx
>
>
> "Patrice" <no****@nowhere .com> wrote in message
> news:#4******** *****@TK2MSFTNG P14.phx.gbl...
> > I'm not sure to have the whole picture. If I understood you are using a > web
> > app that let's you upload a file. Instead of doing this yourself you

would
> > like to have an app doing this for you ?
> >
> > You have nothing to change or do server side. You'll have a client side > .NET
> > app that uses System.Net.WebC lient to post a file to the server side

page.
> > You could also ask them for possible alternate methods (they may have

FTP
> > access ?)
> >
> > Patrice
> > --
> >
> > "CHIN@KD" <ra**********@y ahoo.com.ar> a écrit dans le message de
> > news:ec******** ******@TK2MSFTN GP10.phx.gbl...
> > > Thanx Patrice !!!
> > >
> > > But this app works on the Client.. and i dont have access to the

server
> > > site... so.. i only can navigate their site and find out how to put

the
> > path
> > > on the file control !!!
> > >
> > > "Patrice" <no****@nowhere .com> wrote in message
> > > news:uB******** ******@TK2MSFTN GP15.phx.gbl...
> > > > System.Net.WebC lient allows to upload a file to particular page. See > the
> > > SDK
> > > > documentation for a sample.
> > > >
> > > > Patrice
> > > >
> > > >
> > > > --
> > > >
> > > > "CHIN@KD" <ra**********@y ahoo.com.ar> a écrit dans le message de
> > > > news:uV******** ******@TK2MSFTN GP15.phx.gbl...
> > > > > Hi all.. here s my problem ( maybe some of you saw me on other
> groups,
> > > but
> > > > i
> > > > > cant find the solution !! )
> > > > >
> > > > >
> > > > > I have to upload a file to an external site, so, i made a .vbs

file
> ,
> > > that
> > > > > logins to the site, and then i have to select the file to upload..
i
> > > used
> > > > > sendkeys.. and i worked perfect.. BUT ... the computer must be
> locked
> > > for
> > > > > security ( obviusly ) reazons.. so..i think this probable

solutions
> to
> > > > > unlock the computer and run the application .. or find
> > > > > another way to fill the FILE control on that site...
> > > > >
> > > > > - I read some groups, and i found a SendMessage() function,

that > > sends
> > > > > characters to an especific application, but dont know wich

language
> is
> > > > it...
> > > > > and if it runs on a locked computer.
> > > > > - I can do the click on BROWSE button, but how can i select a

file
> on
> > > the
> > > > > browse window ? ( without using SENDKEYS ) .. i can do a VB6
> > application
> > > > > that runs the URL in a webcontrol, but cannot acces to that

BROWSER
> > > window
> > > > > right?
> > > > > - Is there any browser with the security bug that i can write in > the
> > > > VALUE
> > > > > property of the FILE control?? or is anyway to set that
> > > > > security

on
> > > > > IExplorer?
> > > > > - .NET .... is there anyway to do this in .NET (ASP.NET or

VB.NET)
> ?
> > i
> > > m
> > > > > begginer but if it could be possible.. i learn .NET in one hour !! > > lol..
> > > > >
> > > > >
> > > > > Any idea would be really help here..
> > > > >
> > > > > Thank you all.
> > > > >
> > > > > --
> > > > > CHIN@KD
> > > > > www.racingclub.com.ar
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Jul 21 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
1344
by: CHIN | last post by:
Hi all.. here s my problem ( maybe some of you saw me on other groups, but i cant find the solution !! ) I have to upload a file to an external site, so, i made a .vbs file , that logins to the site, and then i have to select the file to upload.. i used sendkeys.. and i worked perfect.. BUT ... the computer must be locked for security ( obviusly ) reazons.. so..i think this probable solutions to unlock the computer and run the...
0
9117
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9679
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9676
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8542
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7078
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6390
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4955
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3651
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3141
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.