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 July 15th, 2003, 03:09 AM
Authorized User
 
Join Date: Jun 2003
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default Internet Transfer Control

Anyone know how to make this work with FTP to SEND a file to a UNIX server?
 
Old July 20th, 2003, 09:33 AM
Authorized User
 
Join Date: Jun 2003
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i never done this, but by looking at the help file i'm pretty sure it should work with the Execute method, probably in steps ("CD ..." and then "PUT ..."), so pretty much similar to how you would do with a command prompt ftp client.

defiant
 
Old July 22nd, 2003, 03:46 PM
Authorized User
 
Join Date: Jun 2003
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks - I have tried many ways but it never completes - seems to hang up just on getting a response from the remote computer.

Searching the www does not produce any help, other than other people's attempts on GET and a few warnings saying the ITC is very buggy.

:)
 
Old July 23rd, 2003, 03:38 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

Have you tried using the command line FTP program instead? Just call it with a script file from a .BAT file. e.g in your .bat file just change to the directory where you want to store the file then use "FTP -s:SCRIPTFILE.DAT", where SCRIPTFLE.DAT contains the FTP commands to logon to the Unix server and GET the file(s) you want.

A VB program I currently support successfully uses this approach to get files from a Unix box on the same LAN.

hth
Phil
 
Old July 23rd, 2003, 03:40 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

Sorry have just re-read your original mail and noticed you want to send files to the Unix server. Just wanted to let you know that we have also successfully used the command-line FTP approach to PUT files onto the Unix server.
 
Old July 28th, 2003, 04:59 AM
Authorized User
 
Join Date: Jun 2003
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, I'll give it a go

jake





Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Transfer Protocol sporkman43 VB.NET 0 June 16th, 2004 08:45 AM
Help w/Internet Control in VB.NET jagged30net Pro VB.NET 2002/2003 1 May 29th, 2004 02:33 AM
Using Internet Transfer Control to post XML jaforret Classic ASP XML 2 February 29th, 2004 02:43 PM
Deploying Internet Transfer Control in ASP alonsoca Classic ASP Professional 0 November 29th, 2003 07:13 PM
Internet Transfer Control HELP!!!!! kastronyc VB How-To 1 September 22nd, 2003 02:48 AM





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