Question : FTP to unix servers from windows using VB 6.0 or Excel VBA

I have a CSV file in my C drive. It is C:\Emp.csv
I need to FTP  the CSV file to a unix box.
The address is http://unix.cms.gre.ac.uk
user name :-scott, password :- passwd
The path where the CSV file has to be stored is in  \ bin directory

How can I FTP the file from VB 6.0 or Excel VBA into unix. Could some suggest me a VB command or a VB procedure to that

Thanks

Answer : FTP to unix servers from windows using VB 6.0 or Excel VBA

It's been a while since I wrote that module, so I don't recall from memory, but given that I'm extremely lazy I would guess that I must've looked for an easy-to-use ActiveX control to no avail. ;)

You can delete lines 208, 225, 249-324, 338, 345, 370-372, and 379-381 to remove my project specific form references (which updated a progress bar named "pbProgress" on a form named "frmInetStatus") and just use one line to write a file:

PutFile "unix.cms.gre.ac.uk", "scott", "password", "C:\emp.csv", "/pub/emp.csv", bOverwrite := {True|False}



Random Solutions  
 
programming4us programming4us