473,769 Members | 3,844 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

Nov 19 '05 #1
20 1349
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

Nov 19 '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


Nov 19 '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



Nov 19 '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
>
>
>



Nov 19 '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
>
>
>



Nov 19 '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
> >
> >
> >
>
>



Nov 19 '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
> > >
> > >
> > >
> >
> >
>
>



Nov 19 '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
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Nov 19 '05 #9
> 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...
I'm afraid that's just not true, Patrice. System.Net.WebC lient is used
server-side in an ASP.Net application. It acts like a browser, sending HTTP
requests, and receiving HTTP responses. The HTML input type=file form
element is used for uploading files on the client. The server-side ASP.Net
Control that creates the file upload form field on the client is
System.Web.UI.H tmlControls.Htm lInputFile.

--
HTH,

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

"Patrice" <no****@nowhere .com> wrote in message
news:%2******** **********@TK2M SFTNGP12.phx.gb l... 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
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Nov 19 '05 #10

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

Similar topics

20
2515
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
9579
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9422
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
10035
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...
0
9851
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8863
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...
0
6662
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
5293
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...
0
5441
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3949
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

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.