keepingbusy
Programmer
Hello
I have been looking at various scripts from a Google search but cannot for the like of me get this thing working.
I am simply trying to open an FTP site and download a file from it.
Here is an example I found:
I changed the relevant lines but it just wont work.
So for example, my details would be something like:
Can anyone shed some light on this or point me in the right direction please?
I am using Windows 7 Home Premium with Service Pack 1
Many thanks
I have been looking at various scripts from a Google search but cannot for the like of me get this thing working.
I am simply trying to open an FTP site and download a file from it.
Here is an example I found:
Code:
FTP -v -i -s:ftpscript.txt
In the text file:
open example.com
username
password
!:--- FTP commands below here ---
lcd c:\MyLocalDirectory
cd public_html/MyRemoteDirectory
binary
mput "*.*"
disconnect
bye
I changed the relevant lines but it just wont work.
So for example, my details would be something like:
Code:
URL: ftp://ftp.xxx.xxx/myfolder/
myusername
mypassword
lcd c:\mydownloadfolder
mput thefileiwant.txt
disconnect
bye
Can anyone shed some light on this or point me in the right direction please?
I am using Windows 7 Home Premium with Service Pack 1
Many thanks