n***@yahoo.com
19 years ago
Hi,
Is there a way to find the size of data file uploaded in vb6. I used
the following without any luck.
1. Inet Control
.Execute , "SIZE TestOutput.txt" where TestOutput.txt is the file in
the remote FTP directory. I can get the size using
frmFTP.Inet1.GetChunk(1) while debugging it but not while running it
even though I do the below after Execute step
Do While frmFTP.Inet1.StillExecuting
DoEvents
Loop
2. Winsock control
Cannot specify the password/username (tried using SendData
method) eg: - Winsock1.SendData "USER testuser". Can get the send
progress here. But i "need" to login to the FTP server using a username
and password.
3.FTP from a batch file. Can I call the batch file using shell or
shellexecute function to do
FTP from VB6? How do I log the amount of data transferred during a
upload?
Any help will be very much appreciated.
Thanks,
Ann
Is there a way to find the size of data file uploaded in vb6. I used
the following without any luck.
1. Inet Control
.Execute , "SIZE TestOutput.txt" where TestOutput.txt is the file in
the remote FTP directory. I can get the size using
frmFTP.Inet1.GetChunk(1) while debugging it but not while running it
even though I do the below after Execute step
Do While frmFTP.Inet1.StillExecuting
DoEvents
Loop
2. Winsock control
Cannot specify the password/username (tried using SendData
method) eg: - Winsock1.SendData "USER testuser". Can get the send
progress here. But i "need" to login to the FTP server using a username
and password.
3.FTP from a batch file. Can I call the batch file using shell or
shellexecute function to do
FTP from VB6? How do I log the amount of data transferred during a
upload?
Any help will be very much appreciated.
Thanks,
Ann