I need a quick answer to what I hope is an easy question...
I'm creating a program which I'm leaving to run whilst I'm on holiday, which will ftp files, both from my PC to ftp 'sites'(?) and vice versa. I can do this 'manually' by opening c:\windows\ftp.exe
and then then typing in my commands. However now I need to automate this. I only know a small amount of VB, but have been told that I should create a text file containing my commands, which I have (details slightly changed for security):
I know want to use this text file to communicate to the ftp.exe
, but am totally stuck. I've tried variations around the theme of:
Where ICPC.txt is the name of the txt file, btu am getting nowhere slowly. Any ideas?