VB uploading file

daok

Newcomer
Joined
Aug 31, 2003
Messages
17
I would like to upload file to my server via my vb.net application. I can do it with my php application ... the problem is not the configuration of my Apache server but how can I use socket or something like that to upload...

Anyone can help me?:confused:
 
I belive that if you have a share in you server, where you have permissions to add files, you can use the System.IO Namespace with the:
Visual Basic:
Dim f As System.IO.File
f.Move(SourceFilePath, DestinationFilePath)
'Or you can use COPY too...
f.Copy(SourceFilePath, DestinationFilePath)
I used this once and it worked just fine...

Alex :D
 
Back
Top