Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

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.
greatvirgo

automate FTP upload to remote server

Hi
I want to automate FTP upload to remote server.As of now I am just trying to run manually using this code;
************************************************************************************************
option batch abort

option confirm off

open bcnas.tsl.telus.com

***** #username
***** #password
option transfer binary

lcd C:\example

cd bcnas.tsl.telus.com\archive\Automated Post Processing Upload

mput "."

close

exit
**********************************************************************

This code does not work.Any suggestions?