|
-
Jun 25th, 2001, 10:34 AM
#1
Thread Starter
New Member
upload using winsock
i am using wsock32.dll file to create winsock...
i can download any file from servers using GET method of HTTP but i dont know how to upload files on server??
can i use HTTP method PUT for that..
please consider this as urgent..
thank You
swati
-
Jun 25th, 2001, 10:54 AM
#2
Black Cat
You need HTTP POST, not PUT, to submit a form. I think PUT is only for servers with the FrontPage Extensions.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Jun 26th, 2001, 12:55 AM
#3
Thread Starter
New Member
i dont want to submit any form... i want to upload a file onto the server...
i guess u took my query in a wrong sense...
anyways,
please reply soon..
thank You!!
swati
-
Jun 26th, 2001, 06:28 AM
#4
Black Cat
Unless the server has the FP extensions set up on it, you can't upload a file directly thru HTTP. You'll have to use FTP, or Windows sharing, or whatever is set up on the web server.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Jun 26th, 2001, 07:01 AM
#5
Thread Starter
New Member
but i can do SCP(unix command) and upload a file onto our server...
i want to upload file only on my server... cause while SCPing any file it asks me for username and password...
so can u tell me how does this scp work.. i mean it must be using some http request na??
anyhow,
can u tell me where to use PUT method then??
actually downloading gives no problems when i implement winsock in VB...
and if i can do SCP and upload any file on my server then by using winsock in VB how can i upload a file ??
please reply soon..
swati
-
Jun 26th, 2001, 10:47 AM
#6
Black Cat
You'll have to look into your web server documentation to see if it supports the PUT command.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|