-
August 15th, 2002, 04:16 AM
#1
How to copy a file to the webserver with the internet control (msinet.ocx)?
Hi,
Is it possible to copy/transfer a file to the webserver with the internet control?
I do not want to use ftp.
Regards,
Maurice
-
August 15th, 2002, 10:01 AM
#2
You can use
Code:
dim b() as byte
b() = inet1.OpenUrl("Http://bla.bla.bla/FileName.xxx", 1)
Then save the b() array to a file, not tested but should work
JeffB - hope it helps
-
August 16th, 2002, 01:43 AM
#3
Not what I meant
Jeff,
The example you gave me is downloading a file from the webserver to a local drive.
What I want is to upload file(s) to a webserver automatically, so without interaction from the user.
Regards,
Maurice
-
August 16th, 2002, 04:41 AM
#4
Use Execute
hi
You can use itc.execute("ftp:\server","put filename destination")
this should work because i have used this.
I don't have to sample code, if u want it i will find and send it to you.,
regards
girish
-
August 16th, 2002, 05:15 AM
#5
Without using ftp
Thanks for your anwer.
Do you also have an example without using ftp?
Regards,
Maurice
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
|