ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   open ftp file with password (https://www.excelbanter.com/excel-worksheet-functions/157128-open-ftp-file-password.html)

Kevin

open ftp file with password
 
I am using this statement to open an ftp file.

Workbooks.Open Filename:= _

"ftp://10.12.41.22/opt/app/srts/prod/apache/htdocs/storage/csv/storage_data09-04-2007.csv"

When it runs it asks for the user id and password if the machine has been
rebooted since the last time it was opened.
Is there a way to pass the user id and password in the open statement?
This is part of an automated process and I would like to avoid having to
type in a password every time the machine gets rebooted...


Kevin

open ftp file with password
 
Sorry, meant to post this under programming..

"Kevin" wrote:

I am using this statement to open an ftp file.

Workbooks.Open Filename:= _

"ftp://10.12.41.22/opt/app/srts/prod/apache/htdocs/storage/csv/storage_data09-04-2007.csv"

When it runs it asks for the user id and password if the machine has been
rebooted since the last time it was opened.
Is there a way to pass the user id and password in the open statement?
This is part of an automated process and I would like to avoid having to
type in a password every time the machine gets rebooted...



All times are GMT +1. The time now is 11:47 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com