User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 402,974 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,725 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Views: 277 | Replies: 0
Reply
Join Date: Jul 2007
Posts: 113
Reputation: tgifgemini is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
tgifgemini tgifgemini is offline Offline
Junior Poster

VB6 - FTP within Visual basic environment

  #1  
Jul 15th, 2008


Please, I need someone to show me the correct synatx - code to FTP a file (in an Access table) to a server.

The access table contains the following information:
[code]
Open
10.8.44.34
Username
Password
File path - sourcefile destinationfile
Quit.
[code]

I tried to run the code below and I get: a "Runtime error 438 - Object does not support this property of method"

InetFTP.Execute "ftp://mfuchk:58UA?UUW@10.8.37.44", "Put \\Livctrls03-08\Data1\APP\UNCLAIMW\UCCTest\Databases\DataFiles\Emp_Messages.txt  W.APPHRMS.UCCHKMSG"  


I also trried the code below and got: a Runtime Error 13 - Type Mismatch.

InetFTP.ExecWB  "ftp://mfuchk:58UA?UUW@10.8.37.44", "Put \\Livctrls03-08\Data1\APP\UNCLAIMW\UCCTest\Databases\DataFiles\Emp_Messages.txt  W.APPHRMS.UCCHKMSG"  

What am I doing wrong? Maybe wrong FTP syntax?

Thanks.
tgifgemini
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Visual Basic 4 / 5 / 6 Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Other Threads in the Visual Basic 4 / 5 / 6 Forum

All times are GMT -4. The time now is 7:51 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC