Upload files on FTP
Posted: 05 Jan 2011 13:28
Hello,
I have some questions about a script I found here that I have been using, this is the script:
@ftp -i -s:"%~f0"&GOTO:EOF <--- What does this line do?
open 31.359.58.107
test
test
!:--- FTP commands below here ---
ascii <--- Why use Ascii here? Is it depending on the files that I want to transfer? There are two more that I know of; Binary and Type, when should I use them?
cd BACKUP
put C:\Documents and Settings\####\".rtf" <-- How do I send files that have the ending .rtf?
disconnect
bye
I find the tutorials and the forums very useful and I am really grateful for this, trying to learn batch programming because it will certainly reduce the amount of time I am using on manual work.
Thank you for your time!
Best regards
Olle
I have some questions about a script I found here that I have been using, this is the script:
@ftp -i -s:"%~f0"&GOTO:EOF <--- What does this line do?
open 31.359.58.107
test
test
!:--- FTP commands below here ---
ascii <--- Why use Ascii here? Is it depending on the files that I want to transfer? There are two more that I know of; Binary and Type, when should I use them?
cd BACKUP
put C:\Documents and Settings\####\".rtf" <-- How do I send files that have the ending .rtf?
disconnect
bye
I find the tutorials and the forums very useful and I am really grateful for this, trying to learn batch programming because it will certainly reduce the amount of time I am using on manual work.
Thank you for your time!
Best regards
Olle