ftp problem
ftp problem
ftp problem
ftp problem
ftp problem
ftp problem ftp problem ftp problem ftp problem ftp problem ftp problem ftp problem ftp problem
ftp problem ftp problem
ftp problem
Go Back  Xtreme Visual Basic Talk > > > ftp problem


Reply
 
Thread Tools Display Modes
  #1  
Old 05-25-2005, 11:58 AM
rgvitali's Avatar
rgvitali rgvitali is offline
Regular
 
Join Date: Jul 2003
Location: St. Paul, MN
Posts: 74
Default


Quote:
Originally Posted by OnErr0r
If you don't have much experience with the FTP protocol, then I'd suggest you use the MS Inet control.
I hope you do not mind if I jump in on this thread. I am sure that I have seen the reference for FTP control in my directories, but I cannot seem to find it. I'm working with VBA within Access. I'm not sure I really need the "INet" thing.
I ultimately want to ftp files from a mainframe server (TSO).
Based on other threads I have seen I thought this might work:

Dim C_Prompt As String
Dim strFTP As String
Dim Address As String
Dim User As String
Dim Password As String
Dim File As String



C_Prompt = "C:"
strFTP = "ftp"
Address = "open plexprd-p2.us.bank-dns.com"
User = "myusername"
Password = "mypassword"
File = "'s920.rjnels1.file.data' DickNelson1.txt"


FTP.Execute C_Prompt
FTP.Execute strFTP
FTP.Execute Address
FTP.Execute User
FTP.Execute Password
FTP.Execute File
FTP.Execute "Quit"

Thanks much,
Robert

Edit by admin: I sincerely hope you didn't just publicly post details about an FTP site including real login credentials, but just in case you did, I edited them for your security.

Last edited by lebb; 05-25-2005 at 01:08 PM. Reason: split off from http://www.xtremevbtalk.com/showthread.php?t=171356 & edited login details
Reply With Quote
  #2  
Old 05-25-2005, 12:44 PM
OnErr0r's Avatar
OnErr0rftp problem OnErr0r is offline
Obsessive OPtimizer

Administrator
* Guru *
 
Join Date: Jun 2002
Location: Debug Window
Posts: 13,774
Default

We prefer you start a new thread for such a question. This is for two reasons. 1) We prefer you do not post to threads over 30 days old. 2) You hijacked someone else's thread for your own purposes. In the future simply start a new thread and post a link to the original. Thanks.

I don't use Access, but I'm doubtful that the MS Inet control is available. Maybe one of our access experts/gurus will chime in.

If you don't get any answer here, try posting in the access section of the forum.
__________________
Quis custodiet ipsos custodues.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
ftp problem
ftp problem
ftp problem ftp problem
ftp problem
ftp problem
ftp problem ftp problem ftp problem ftp problem ftp problem ftp problem ftp problem
ftp problem
ftp problem
 
ftp problem
ftp problem
 
-->