473,698 Members | 2,166 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VB .Net - Upload Files - Enctype=multipa rt/form-data


Hi,

I am developing a Desktop Application in VB .Net to upload files to
the server.
I need to encrypt the contents and upload it to the server. I am
supposed to use enctype=multipa rt/form-data .
I searched the web and i get examples only for ASP .Net.
I want to use only VB .Net
Can anyone help me ?

Thanks,
Dev.
Jun 27 '08 #1
2 3173
See the System.Net.WebC lient class (or HttpWebRequest if you need total
control over the web request you'll send to the server).

--
Patrice

<ka**********@g mail.coma écrit dans le message de news:
89************* *************** **...legroup s.com...
>
Hi,

I am developing a Desktop Application in VB .Net to upload files to
the server.
I need to encrypt the contents and upload it to the server. I am
supposed to use enctype=multipa rt/form-data .
I searched the web and i get examples only for ASP .Net.
I want to use only VB .Net
Can anyone help me ?

Thanks,
Dev.

Jun 27 '08 #2
On Apr 21, 12:43*pm, karthickd...@gm ail.com wrote:
Hi,

I am developing a Desktop Application in VB .Net to upload files to
the server.
I need to encrypt the contents and upload it to the server. I am
supposed to use enctype=multipa rt/form-data .
I searched the web and i get examples only for ASP .Net.
I want to use only VB .Net
Can anyone help me ?

Thanks,
Dev.
So, why do you asked your question in the ASP.NET group then? :-)

Hope this helps:
http://www.vbdotnetheaven.com/Upload...derWSinVB.aspx
Jun 27 '08 #3

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

Similar topics

15
3215
by: Simon | last post by:
I would like to create a very basic file upload add image form to add to my web site and to keep them in a "tmp" directory within my web hosting file manager once uploaded. I understand the basic html for the form and the basic php scripting but the fine details ie method post etc needs help also at this stage I dont want to involve mysql data base. were should I start.
3
1190
by: Fernando Lopes | last post by:
Hello. I want to create a usercontrol for upload imagens. So, I will put this usercontrol in a lot of pages in my application. Probably will not work, because some form will not set with enctype/multipart attribute. How can I fix it? Someone have any sample of usercontrol and upload? Thanks
3
2926
by: Li Zhang | last post by:
I know I can use controlName.Value to retrieve the form fields value if I am in that page. But if I am out of the page, for example I am in a HttpModule, I want to retrieve a hidden filed value, Is that possible? if so how? Thanks!
1
1776
by: Grzegorz ¦lusarek | last post by:
Hi All. One of the fields used in my form is to upload file, Is is to posible to made this field readonly and after filling radio field set this to use by javascript. I don't wanna give a User chance to upload file until he check in the form that he want's to upload File. thanks for any help Gregor
4
2610
by: bjkstudio | last post by:
Hello I am trying to create a simple file upload form so my band members can upload mp3s onto my server. I am using this tutorial: http://www.tizag.com/phpT/fileupload.php I am having problems creating the code for uploader.php. Can anyone show me exacly how it should look?
1
1458
by: bernhard.heinzel | last post by:
Hi, I got a little problem with an upload form. Everytime I post the form it only submits the filename without the path. But I need the path. So could anybody help? Here is the code: <p>New file.</p>
1
1261
by: shilpa1205 | last post by:
I have written a page similar to file upload form.....which takes in a input from the browse and does soem functionality and displays the success message in next page. <html:file property="file"></html:file> it looks as simple as the above line. Now i need to test various cases on the form. All the cases work fine....like 1. typing in a valid file name without using the browse button 2. giving an empty string etc all the errors are...
1
1853
by: shilpa1205 | last post by:
I have written a page similar to file upload form.....which takes in a input from the browse and does soem functionality and displays the success message in next page. <html:file property="file"></html:file> it looks as simple as the above line. Now i need to test various cases on the form. All the cases work fine....like 1. typing in a valid file name without using the browse button 2. giving an empty string etc all the errors are...
4
1901
by: bluesteel | last post by:
Hi, I am trying to use Visual C++ express but i got some samples made under Visual C++ 6.0 that do not compile under the program mentioned at the beginning. Visual C++ Express says that the file included "windows.h" does not exist, what means Visual C++ Express does not come with such library (what makes me sick). Having understood that i wanted to know how i could solve this problem, so that i can compile Visual C++ 6.0 Projects under Visual...
7
1713
by: Defacta | last post by:
Hi, I have set my max upload file to 200M by modifiying the php.ini file: ; Maximum allowed size for uploaded files. upload_max_filesize = 200M The function: echo ini_get("upload_max_filesize") ; display 200M.
0
8674
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
8603
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
9157
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8893
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
8861
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
7723
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
4366
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
3045
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
2328
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.