2

I am trying to upload entire a folder to ftp but it just uploads one file, what could be the problem?

Open Run window → cmdftp -s:C:\ftpfile.bat

This is my batch code code:

open FTP address
USERNAME
PASSWORD
bin
mput C:\user\*
bye

Thanks from now.

Trinimon
  • 13,839
  • 9
  • 44
  • 60
Luai Kalkatawi
  • 1,492
  • 5
  • 25
  • 51

1 Answers1

1

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
marapet
  • 54,856
  • 12
  • 170
  • 184