|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Well, i have a problem with a program im trying to create with visual basic 6.0. It's this way, on my form i have put a picturebox(picture1), ill need to upload the contents of that picturebox(the picture that it shows) to a ftp...
here is the code i used: InetFTP.Execute , "Put " & _ Picture1.Picture & " " & txtRemoteFile.Text it doesnt work but when i do it with a file it works! for example: txtLocalFile = "C:\file.txt" txtRemoteFile = "file.txt" InetFTP.Execute , "Put " & _ txtLocalFile.Text & " " & txtRemoteFile.Text this works fine, but the thats not what i wont, i need the picture of the picturebox to be uploaded.... can somebody help me out, thx for helping! |
|
#2
|
|||
|
|||
|
Now,U have a big mistake in the object regonization..The picture box is a object,just not a file..And ftp server can recieve any file but not a prgram object..U can send this picture according the picturebox..
|
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > Ftp problem... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|