Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 248
  • Last Modified:

FTP File

I need to FTP a file.  How would I go about doing that?
0
DwayneHarris
Asked:
DwayneHarris
  • 5
  • 4
1 Solution
 
Marv-inCommented:
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
 
griesshCommented:
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
 
DwayneHarrisAuthor Commented:
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
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
DwayneHarrisAuthor Commented:
I am trying to create an FTP file from a AS400 query to an Excel spreadsheet.
0
 
griesshCommented:
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
 
griesshCommented:
Are you at the same network as the users?
0
 
DwayneHarrisAuthor Commented:
Yes,  I am at the same network as the users.
0
 
griesshCommented:
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
 
griesshCommented:
Looks like Samba is the way to go then. Thanks for the points.

=====
Werner
0
 
DwayneHarrisAuthor Commented:
You are welcome.

Dwayne Harris
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now