Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 15th, 2003, 03:09 AM
Authorized User
 
Join Date: Jun 2003
Location: , , .
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?
Reply With Quote
  #2 (permalink)  
Old July 20th, 2003, 09:33 AM
Authorized User
 
Join Date: Jun 2003
Location: , , Romania.
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
Reply With Quote
  #3 (permalink)  
Old July 22nd, 2003, 03:46 PM
Authorized User
 
Join Date: Jun 2003
Location: , , .
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.

:)
Reply With Quote
  #4 (permalink)  
Old July 23rd, 2003, 03:38 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , United Kingdom.
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
Reply With Quote
  #5 (permalink)  
Old July 23rd, 2003, 03:40 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , United Kingdom.
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.
Reply With Quote
  #6 (permalink)  
Old July 28th, 2003, 04:59 AM
Authorized User
 
Join Date: Jun 2003
Location: , , .
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, I'll give it a go

jake
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 02:21 AM.


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