Wrox Programmer Forums
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 5th, 2007, 09:00 AM
Registered User
 
Join Date: Dec 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to caveatashish Send a message via Yahoo to caveatashish
Default FTP n VB6.0

Hi,

i m using inet control for trasfering a file using vb6.0 from a remote server, if i m running this command thru command prompt with the required credential everything is workig fine but when i ran this thru vb6.0 i got the following error

200 TYPE is now 8-bit binary
200 PORT command successful
550 Can't check for file existence
550 Can't open AtxDb.mdb: No such file or directory

same code work fine with if i point to some other ftp server
Any help will be appriciated

 
Old December 5th, 2007, 09:23 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

I don't see the commands you are sending, but did you really check that the file exists?? remember that when you run an exe you can be in any folder, always check that...

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
 
Old April 12th, 2011, 05:58 AM
Registered User
 
Join Date: Apr 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default ftp n Vb6. Error type in now 8-bit binary

hi
i am facing same kind of problem .
i develop a appliction to upload a file on my website .
but it is not work on some computers

i don't know why ?
i am using following code

Code:
Inet1.Protocol = icFTP
Inet1.AccessType = icDirect
myUrl = "ftp://user:[email protected]"
Inet1.UserName = myWebUser
Inet1.Password = myWebPass
Inet1.RemotePort = myWebPort
Inet1.URL = myUrl
Call Inet1.Execute(, "PUT " & filePath & " public_html/" & myBackFileName)





Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP zaghmout C# 2005 3 December 9th, 2007 09:28 AM
vb6 subroutine to ftp a file? dgr7 VB How-To 2 January 16th, 2007 12:15 AM
FTP pakman Excel VBA 2 June 30th, 2005 05:58 AM
FTP pakman BOOK: Excel 2003 VBA Programmer's Reference 0 June 27th, 2005 04:24 AM
FTP? Nasimov Visual C++ 1 December 24th, 2003 09:24 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.