Batch file uploading entire folder to FTP
17,531
Have you tried to use prompt
before mput
in order to deactivate interactive mode?
open FTP address
USERNAME
PASSWORD
prompt
bin
mput C:\user\*
bye
Comments
-
Luai Kalkatawi almost 2 years
I am trying to upload entire a folder to ftp but it just uploads one file, what could be the problem?
Open Run window →
cmd
→ftp -s:C:\ftpfile.bat
This is my batch code code:
open FTP address USERNAME PASSWORD bin mput C:\user\* bye
Thanks from now.