Inet Uploading 500 POINTS ASAP!

Hello experts ...

I am trying to uploading 1 .txt file using vb6.0 .. my problem i that is uploading the file .. but the FILE ITS EMPTY .. i dont know why ... this is my little source

Private Sub Command2_Click()
Inetupload.URL = ""
    Inetupload.UserName = "test"
    Inetupload.Password = "test"
    Inetupload.Execute , "PUT c:/a/test.txt info.txt"
MsgBox " Starting to uploading . . . "
End Sub
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

not sure, but could it be that you need to indicate that the upload is binary ?
sorry, I was posting too fast. I see now that it is a tect file that you try to upload.
what if you try the same using a plain ftp window ?
i.e. are you sure your user/password/permissions are all o.k. ?
cashisthepowerAuthor Commented:
yes its all ok .. its uploading the file .. but the file ITS TOTALLY EMPTY .. 0bytes
I will ask again,
what if you do just plain ftp,
using a command window, does it then upload your file ?

also - could it be that your file is not closed when you are trying to read it ? (maybe a log file of sorts).
and another:

are you sure that you should use "PUT c:/a/test.txt info.txt"
and not something like "PUT c:\a\test.txt info.txt"
or more likely "PUT c:\\a\\test.txt info.txt"

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.