-
User inputs something in box then sends it to ftp server via java?
So I want to make a program where the user would enter something (ex: Username and notes) and hit login/send and it would send it in a .txt (or something else I don't know) to my ftp server. How would I be able to do that exactly? I am a newb to java. Also wouldn't it connect to the ftp server with Ip:21 (21 is Ftp's default port).
Sorry if this sounds weird to you :p
skype: Rozyn.hacks (If you would prefer to help on skype more)
-
Re: User inputs something in box then sends it to ftp server via java?
Are you going to write your own code for FTP ? See the RFC for how to implement FTP
or use a third party package? I think the apache project has one.
-
Re: User inputs something in box then sends it to ftp server via java?
I plan on buying from a webhost that has FTP as well and use it to host my website and for ftp (The ftp will be very small bits of info) so I will just be using what they have for ftp (I would assume apache). I am not nearly a skilled enough coder to write my own ftp client XD.
-
Re: User inputs something in box then sends it to ftp server via java?
Have you gotten a solution now?
-
Re: User inputs something in box then sends it to ftp server via java?
What do you mean by that? No one else has posted on the thread or pm'ed me.
-
Re: User inputs something in box then sends it to ftp server via java?
There were no questions in post#3 so I assumed you were done. If you have questions about the project, post them and the code that you are working on.
-
Re: User inputs something in box then sends it to ftp server via java?
This will be more difficult than I figured to ask questions then... lol. I haven't even started on the code because I do not know how to do the code. I spend hours watching TNB, reading java books, and almost nothing.
-
Re: User inputs something in box then sends it to ftp server via java?
There are lots of samples of code here on the forum
and there is the tutorial: The Really Big Index
Before starting on the coding, do some designing. Draw what the window should look like.
Make list of the steps the code and user need to do for the program to work.
-
Re: User inputs something in box then sends it to ftp server via java?
By designing do you mean the Graphical User Interface? If so then ok I will try, but I have heard that the GUI is harder than the actual code most of the time.
-
Re: User inputs something in box then sends it to ftp server via java?
By designing I meant using paper and pencil to place the components at locations on a window. The stuff in a window is often called the GUI. Yes, writing the code to make the GUI be the way you want can be time consuming.
-
Re: User inputs something in box then sends it to ftp server via java?
Oh I have that planned out in my head. Just a .png logo centered at the top, then a Username: then Password: thing
-
Re: User inputs something in box then sends it to ftp server via java?
-
Re: User inputs something in box then sends it to ftp server via java?
Well I will draw it in paint for you: Java GUI - Slimber.com: Drawing and Painting Online
What all would I need to know to do this (I plan on learning more java but I need to make application pretty quickly) [Preferably from that Java index on oracle that you linked me].
-
Re: User inputs something in box then sends it to ftp server via java?
Sorry I don't open links to 3rd party sites.
Quote:
What all would I need to know to do this
What is the "this" you want to do?
See the tutorial for how to build a Swing GUI:
http://docs.oracle.com/javase/tutori...ing/index.html
-
Re: User inputs something in box then sends it to ftp server via java?
Just send little bits of info to my ftp server. I do not have a clue how to code that.
-
Re: User inputs something in box then sends it to ftp server via java?
You said you were going to use the apache package for the FTP part. Download the package and read the API doc on how to use the package for what you want to do. I've never used the package and can't tell you how to use it.
-
Re: User inputs something in box then sends it to ftp server via java?
Now you have got me confused.
1.) I have no clue what the ftp part will be. Let's not go there yet.
2.) I need more help coding the actual program for now.
-
Re: User inputs something in box then sends it to ftp server via java?
If you want a GUI, start by reading the tutorial in post#14
-
Re: User inputs something in box then sends it to ftp server via java?
Ok thanks! Also could you help me with the code for how it would record the text the user enters, then we get into the ftp shit?
-
Re: User inputs something in box then sends it to ftp server via java?
Post the code you have so far and any questions or problems you are having with it.
-
Re: User inputs something in box then sends it to ftp server via java?
I do not even know how to start atm.
-
Re: User inputs something in box then sends it to ftp server via java?
Start with reading the tutorial.
-
Re: User inputs something in box then sends it to ftp server via java?
Ok, I will PM you telling you when I am ready to have you check over my code so you don't have to keep looking at this thread. Thanks so much for all your help!