Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - Automatically open an FTP file

Reply
 
Old 01-10-2009   #1 (permalink)
AP


 
 

Automatically open an FTP file

Up until this morning I could automatically open Excel files stored in an
FTP site using the code below:

-----------
Dim xlApp
Set xlApp = CreateObject("Excel.Application")
xlApp.Workbooks.Open ftp://usernameassword@xxxxxx/Workbook1.xls
xlApp.Visible = True
Set xlApp = Nothing
------------

However this script has now started to return an error.

If I type in the above path in Windows Explorer, it now pops up an extra FTP
Logon window asking for my username and password again (despite these having
been entered in the path as above). This didn't use to happen. This extra
secondary login requirement is probably causing the above script to fail.

Is there anyway I can modify the above script in order to automate the
secondary login (i.e. automatically provide the username and password in the
extra FTP logon window) ?

Thanks.



My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
e mails open automatically Vista mail
WMP 11 doesn't open automatically Media Center
Attachment automatically opens when open an email Vista mail
in vb.net how to open a file from file download prompt without askinguser to save it or run it....just open it in internet explorer .NET General
Want to avoid having messages automatically open in newsgroups Vista mail


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46