Re: automate FTP upload to remote server
Hard to answer "This code does not work.Any suggestions?". More details would help.
Anyway
1) Path with spaces should be in double-quotes (see "cd")
2) What should "mput "."" do? Do you want it to upload all files in currect directory? Use "put *" for that.
Anyway
1) Path with spaces should be in double-quotes (see "cd")
2) What should "mput "."" do? Do you want it to upload all files in currect directory? Use "put *" for that.