View Single Post
  #2 (permalink)  
Old 06-21-2007, 10:21 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 551
Default

Hello,

I did try replicating your scenario from my end. In fact there are 2 ways wherein you can successfully upload your files through ftp.

1. We can execute ftp commands stored in the batch file, however for that we need to be in the same folder where the batch file is stored. For eg. We save the batch file in C:\ drive. Now when we go to command prompt to run the batch file we need to ensure that prompt is C:\ if not then you need to go in parent directory and select C:\ drive. Once you are in C:\ drive you can run the batch file. Following a specimen you can refer to and try from your end and it should work.

C:\Users\MyPC\Desktop > cd\
C:\> ftp -s:trial.bat

2. On the other hand you have a simple option to execute this task with automation anywhere. You can implement the following steps to create a task to upload files through Automation Anywhere.

I. Select Connect option in FTP from the command list on the left hand side
and write the ftp server address, username & password in the relevant fields.

II. You can check your ftp connection by click on the Test connection button on the lower left hand side of the window.

III. Once you are connected you can copy files by using the PUT command
and specifying the file location.

After this you can save the task and the FTP command should work. However you have any further queries you can feel free to write back with relevant error messages if any.

Here are some online sample tasks on how ot use FTP commands http://www.tethyssolutions.com/autom...neralITprocess

Hope that helps!.
Reply With Quote