Solved

FTP File

Posted on 2004-10-14
10
237 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
 

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This is about my first experience with programming Arduino.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
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 seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

920 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

15 Experts available now in Live!

Get 1:1 Help Now