Click to See Complete Forum and Search --> : FTP scripting
katymc238
04-02-2007, 04:54 AM
hey
not sure if this is the right forum but i was hoping someone might be able to help me!
im trying to send a text file to a web host from a local host and think it should be done using ftp scripting...........but not sure how or where to start.
i have all the necessary premissions need
thanks
katy
Compguy Pete
04-02-2007, 07:58 AM
is this text your trying to automaticly get updated?
If you explain what your trying to do with a little more detail we might be able to get this figured out.
There are some web based ftp options out there that work rather well. However unless you really know what your doing you may not be able to upload files larger than 2mb with the majority of solutions.
here are some links to consider:
http://www.phpwebftp.com/
http://www.net2ftp.com/
katymc238
04-02-2007, 09:04 AM
hey
im running some java code which creates a text file which will have a max 2 lines in the text file so will be very small.
once the text file is created i then want to send it to a web host, my college server to be exact.
so the text will only be updated when i run the code in eclipse.
hope this explains things a bit better
thanks
katy
ray326
04-02-2007, 10:24 PM
You can do it directly in Java using something like http://jakarta.apache.org/commons/net/api/org/apache/commons/net/ftp/package-tree.html or you could get an FTP plugin for Eclipse if doing it out of the IDE would work for you.