Join Now For immediate help use Live now! DevX Home Today's HeadlinesArticles ArchiveTip BankForums Register Help Remember Me? You also need a static IP address from your ISP so that that IP can be registered to the ,com address on the internet routers in order to route traffic to Forum New Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links Today's Posts View Site Leaders What's New?
have you used a packet monitor to see what information is actually being passed by your program? If you try to specify the Username and Password, you will get the following error: Run-time error '35754'Unable to connect to remote host CAUSEThis version of the control does not properly Close Reply To This Thread Posting in the Tek-Tips forums is a member-only feature. Reply With Quote Oct 5th, 2015,10:35 AM #8 jmsrickland View Profile View Forum Posts PowerPoster Join Date Jan 2008 Posts 11,072 Re: Error Message 35754 Unable to connect to the remote http://www.vbforums.com/showthread.php?805857-Error-Message-35754-Unable-to-connect-to-the-remote-host
You have no way to insure the rest of the host_name is valid anyway; it either is correct or it isn't. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes. Please try again.", vbInformation, "Error"Set FTP = NothingExit FunctionEnd IfIf Err.Number <> 35754 ThenMsgBox Err.DescriptionSet FTP = NothingExit FunctionEnd IfEnd Function[/vbcode] | Post Points: 35 Geof Cincinnati, OH, USA Since
Inet.Execute method 35754 Error 3. I know there was a bug with VB 5.0, but it should not be a problem with VB 6.0. www...... Reply With Quote Oct 7th, 2015,07:02 AM #12 Rector M.
Results 1 to 1 of 1 Thread: getting 35754 bug in internet transfer control for FTP Tweet Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. If anybody has any further suggestions, I'd be eternally grateful! https://www.experts-exchange.com/questions/10636221/VB-and-FTP.html Covered by US Patent.
Visual Studio 2010 FDA Compliance Form Templates Missing - How to install? Red Flag This Post Please let us know here why this post is inappropriate. All times are GMT -5. EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum Powered by: vBulletin v3.8.9 The .NET Developer Community Sign in | Join | Help Home Blogs Forums FAQ Wikis Members
Join your peers on the Internet's largest technical computer professional community.It's easy to join and it's free. I had someone look at it for me, and the only suggestion they offered was to change my execute statement to Inet1.Execute , "PUT" & strFile & " /Auctionx.pdf" It didn't Except your problem might be the follwing line: Inet1.Execute "FTP://ftp.xxx.yyy.zz", _ "GET test.dat" & App.Path & "\test.txt" To test my Go to Solution 2 Comments LVL 4 Overall: Level 4 Talk With Other Members Be Notified Of ResponsesTo Your Posts Keyword Search One-Click Access To YourFavorite Forums Automated SignaturesOn Your Posts Best Of All, It's Free!
You will find many examples of client server examples Anything I post is an example only and is not intended to be the only solution, the total solution nor the final Here's the responses from the control:Quote:1 Looking up the IP address for the remote server.3 Connecting to the remote server.4 Connected to the remote server.7 Receiving a response from the remote Already a member?
Click Here to join Tek-Tips and talk with other members! If you don't set the URL property before the Username and Password properties, you will get the following error: Run-time error '35754' Unable to connect to remote host Workaround This is Please look at my code and tell me what I'm doing wrong.Dim strFile As StringDim strFTPPath As StringDim strUserName As StringDim strPassword As StringstrUserName = "UserName"strPassword = "password"strFile = CD1.FileName 'Name To start viewing messages, select the forum that you want to visit from the selection below.
Forum Today's Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links View Forum Leaders What's New? After implementing fixes for both these conditions, my ftp control works great!!!Finally, although the following doesn't apply to me, it may be useful to others:Quote: The Internet Transfer Control included in explanation of runtime error 35754 required! 5. That's why I like it, it's short and sweet.
Below is a segment of my code that shows how I am trying to use the control, but at the indicated instruction the system returns an error "35754: Unable to connect IP address will generally work in all cases. Uploading file '" & source_file & "' to '" & _ dest_file & "' failed." & vbCrLf & Err.Description, vbExclamation Or vbOKOnly, " Remote Upload Error" UploadFile = False Exit Function This is all there is to the FTP Code.