Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

FTP File

Posted on 2004-10-14
10
239 Views
Last Modified: 2010-04-17
I need to FTP a file.  How would I go about doing that?
0
Comment
Question by:DwayneHarris
  • 5
  • 4
10 Comments
 
LVL 6

Expert Comment

by:Marv-in
ID: 12308265
There are many different options - please provide more info about what you are trying to do and what language you are trying to do it with.
0
 
LVL 11

Expert Comment

by:griessh
ID: 12308345
Assuming you are on Winodws:

If you are planning to use FTP more often I would go with a tool like CuteFTP from GlobalScape (http://www.globalscape.com/store/purchase.asp?product=cuteftppro).

Higher versions of Windows have a commandline ftp client you can use (but you need to know the ftp commands in order to use that).

CuteFTP (or other ftp tools like that) have the adcantage that you don't need to know the ftp commands, CuteFTP offers a Explorer-like interface that makes life much easier.

If it is a one-time thing I suggest to find somebody to do it for you :-)
0
 

Author Comment

by:DwayneHarris
ID: 12308377
I think this is a one time thing.   I am trying to FTP files so that I can transfer data the other people when needed.
0
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:DwayneHarris
ID: 12308434
I am trying to create an FTP file from a AS400 query to an Excel spreadsheet.
0
 
LVL 11

Expert Comment

by:griessh
ID: 12308715
FTP is a File Transfer Protocol and has nothing to do with file types.

You can create a file with tab separated entries (or whatever format you use), ftp that file to the server you need it and then import it into Excel.

In order to use the ftp protocol both systems have to have ftp installed. The AS400 is ceratinly no problem, I don't know about the receiver side which is apparently a PC running some kind of Windows.

a (commandline) session would look like this:

neptune: ftp albireo
Connected to albireo.
220 albireo FTP server (Version 4.1 Thu Apr 6 14:11:28 CDT 2000) ready.
Name (albireo:xxx): guest
331 Password required for guest.
Password:
230 User guest logged in.
ftp> cd /home/albireo/guest
250 CWD command successful.
200 PORT command successful.
ftp> put notes.txt
150 Opening data connection for notes.txt (4119 bytes).
226 Transfer complete.
4278 bytes sent in 0.01305 seconds (320.2 Kbytes/s)
ftp> quit
221 Goodbye.
neptune:
0
 
LVL 11

Expert Comment

by:griessh
ID: 12308730
Are you at the same network as the users?
0
 

Author Comment

by:DwayneHarris
ID: 12308761
Yes,  I am at the same network as the users.
0
 
LVL 11

Accepted Solution

by:
griessh earned 200 total points
ID: 12308822
Can't you use a share on the Windows PCs and have Samba on your system? This way you could copy the file to the user's PC.
0
 
LVL 11

Expert Comment

by:griessh
ID: 12308870
Looks like Samba is the way to go then. Thanks for the points.

=====
Werner
0
 

Author Comment

by:DwayneHarris
ID: 12308886
You are welcome.

Dwayne Harris
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question