0

i want to automate the task of uploading of a file at FTP site "uploads.google.com" how can i achive this

2 Answers 2

1

please see here for example

Sign up to request clarification or add additional context in comments.

Comments

1

One of the example is depicted as follows :

  1. Prepare a file (say ftp_cmd.txt)with all the ftp commands to upload the files to our specific site as below:

binary cd mput file.*

bye

  1. Now create a batch file with the following content:

ftp -i -v -s:

ex: ftp -i -v -s:ftp_cmd.txt updates.google.com

Now, when you execute this batch file, it will put all files with format file.* to the specified directory.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.