Using FTP mget from Visual Basic Shell

Hi calling a batch file with FTP commands from Visual basing with Shell, it basically to copy files then delete them.

The delete seems to work but the copy, it looks like the mget command doesn't have the complete information on where to copy the files.

Here is the batch file content.
Open 10.2.25.21
user mario mario2
cd /tmp/mario
mget -i *
pwd
mdelete /tmp/mario/*.*

Here is the VB Shell
Private Sub Command8_Click()
ret = Shell("ftp -i -n -s:c:\temp\ftp.bat", vbMaximizedFocus)
End Sub

Remote PC files are in:
/tmp/mario

Local PC Folder (I need to copy the files here)
c:\temp\

Any help will be really appreciated.

Thanks,

Mario.

You might want to add :

lcd C:\temp

to the script before the get.

Thanks it works!!!!!!!!!!!!