Hi Newbie Here, I'm having problem with my program. Im doing FTP Upload using
WinInet in vb6 but the problem is when I upload the file it is zero filesize or empty. Please help with my problem.
Thanks a lot :)
Printable View
Hi Newbie Here, I'm having problem with my program. Im doing FTP Upload using
WinInet in vb6 but the problem is when I upload the file it is zero filesize or empty. Please help with my problem.
Thanks a lot :)
Make sure there are no spaces in the file path/name or you'll have to put them between quotation marks.
Code:.Execute .URL, "Put " & Chr$(34) & "C:\My Image.jpg" & Chr$(34) & " " & Chr$(34) & "My Image.jpg" & Chr$(34)
it may pe to do with file transfer mode, try setting to passive