Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: Web Browser and FTP
Topic Summary: Need to use Web browser to get to FTP, cannot get path to format correctly
Created On: 05/06/2015 05:28 AM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 05/06/2015 05:28 AM
User is offline View Users Profile Print this message

Author Icon
MaryWesterman
Journeyman (50-99)

Posts: 89
Joined: 08/18/2014

I need to get to our FTP site via a web browser and log into it.  I have tried several ways to get to our site and login, but it does not format correctly.

I am using this, <AMBROWSER URL="ftp://testvse_ftp.ntserv.doitbestcorp.com/" SESSION="BrowserSession2" />

It changes it to this in the web browser http://ftp//testvse_ftp.ntserv.doitbestcorp.com/

and of course this does not work.  How can I fix it.  I've tried going to a www.doitbest.com first and navigating to the ftp site which takes me there, but then I cannot log in.

Is there any way to do this via a web browser?

 

 



 Category Survey
AutoMate BPA Server 9 version: 9.0.5
Windows version: Windows Server 2012 R2
 05/06/2015 05:44 AM
User is offline View Users Profile Print this message

Author Icon
BenjaminKorper
Artisan (200-499)

Posts: 231
Joined: 06/18/2009

Hi Mary,

The URL you are using indicates that this is a normal FTP site. So you should be using the FTP actions (with the right parameters) for this. When calling this URL in your browser, all your browser is doing is emulating a FTP Client, which is the same thing AutoMate does with the FTP action.

Regards,

Benjamin

 Category Survey


-------------------------

 05/06/2015 05:59 AM
User is offline View Users Profile Print this message

Author Icon
MaryWesterman
Journeyman (50-99)

Posts: 89
Joined: 08/18/2014

I'm trying to replicate a process/program we are currently using.  It opens the ftp site, and then selects each directory to make sure it is functioning correctly.  I had created a task to use the FTP action and then change to each folder to check to see if it is available.  A short example is below is this correct?  It runs correctly, I just don't know if it is really checking to see if the folder is accessible.

<AMVARIABLE NAME="varErrorStep"> </AMVARIABLE>
<AMFTP ACTIVITY="logon" SERVER="ftp://prodvse_ftp.ntserv.doitbestcorp.com/" USERNAME="oper" PASSWORD="AM2VEnJdIMXrrI7Sbl05hfcsg==aME" PASSIVEMODE="yes" />
<AMFTP ACTIVITY="change_folder" FOLDER="/ADV" />
<AMFTP ACTIVITY="change_folder" FOLDER="/CICS" />
<AMFTP ACTIVITY="change_folder" FOLDER="/FINANCE" />
<AMFTP ACTIVITY="logoff" />



 Category Survey
AutoMate BPA Server 9 version: 9.0.5
Windows version: Windows Server 2012 R2
 05/06/2015 06:07 AM
User is offline View Users Profile Print this message

Author Icon
BenjaminKorper
Artisan (200-499)

Posts: 231
Joined: 06/18/2009

Hi Mary,

Normally this will work and give an error if the folder is not available. However on some antiquated mainframes the directory is always valid. The best way to test this is by trying to change to a folder that you know does not exist:

If this doesn't give you an error you are going to have to try to find out if the directory is real by some other means (uploading a test file for example)

Regards,

Benjamin

 Category Survey


-------------------------

 05/06/2015 06:27 AM
User is offline View Users Profile Print this message

Author Icon
MaryWesterman
Journeyman (50-99)

Posts: 89
Joined: 08/18/2014

I have some in my 'big' list that I know do not exist in test.  So I'll run it again and see what happens.  I'm setting a variable so that I know what step I'm failing on.



 Category Survey
AutoMate BPA Server 9 version: 9.0.5
Windows version: Windows Server 2012 R2
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 1387 guests browsing this forum, which makes a total of 1387 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2020 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog