|
-
Nov 23rd, 2015, 09:27 PM
#1
Thread Starter
Hyperactive Member
Using VB6 to upload files to my GODADDY-hosted FTP
My vb6 app CREATES a .html file. My goal is then to upload this file to my FTP.
Here's what I tried using:
1- Inet
2- Winsock
3- Batch files!
With Inet and Winsock, the connection works, and the uploaded file IS INDEED created in the specified directory, BUT is always empty. 0bytes. I could paste some code upon demand, but to be quite honest, I've tried many different code found and it always comes down to the same problem... I suppose the problem is elsewhere. I have no firewall interfering. Also, some people, under GODADDY, had success after switching to CPanel hosting but it didn't seem to help here.
Then I've tested a simple batch file:
Code:
open ftp.my_domain.com
mylogin
mypassword
lcd C:\testfolder
cd /mysite
binary
delete mytextfilename.txt
mput mytextfilename.txt
disconnect
quit
...everything seems to be working until I hit the mput command, which results in "200 PORT command successful", quickly followed by "425 Could not open data connection to port 59501: No route to host".
So I'm having trouble achieving, honestly, something I thought would be very simple. Are there any limitations with GODADDY? Any ideas?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|