i want to automate the task of uploading of a file at FTP site "uploads.google.com" how can i achive this
+1
A:
One of the example is depicted as follows :
- 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
- 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.
Roopesh Majeti
2009-07-15 10:56:55