FTP File

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

Expert Comment

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.
LVL 11

Expert Comment

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 (

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 :-)

Author Comment

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.
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.


Author Comment

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

Expert Comment

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.
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.
LVL 11

Expert Comment

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

Author Comment

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

Accepted Solution

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.
LVL 11

Expert Comment

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


Author Comment

ID: 12308886
You are welcome.

Dwayne Harris

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

This article will show, step by step, how to integrate R code into a R Sweave document
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
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 …

816 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now