Re: use ftp with perl? by zentara (Archbishop) on Dec 11, 2012 at 17:29 UTC |
You might look at ftp.pl for a start.
| [reply] |
|
i did! the "put" part does not quite work..?
| [reply] |
|
Any error messages?
CountZero A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James My blog: Imperial Deltronics
| [reply] |
Re: use ftp with perl? by ~~David~~ (Friar) on Dec 11, 2012 at 17:32 UTC |
What doesn't work?
Are you using Net::FTP?
Can you please post some code so we can help out?
| [reply] |
|
the "put" part does not quite work..?
| [reply] |
|
"Does not work" is sufficient to describe a problem with that guy that is taking "a little break" for seven hours straight instead of doing his job.
"Does not work" is far from being sufficient to describe your problem.
Were's the error message you got from perl or the FTP library or the FTP server? Did you even try to upload manually using a different ftp client to make sure you are allowed to upload?
Alexander
--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
| [reply] |
Re: use ftp with perl? by blue_cowdawg (Prior) on Dec 11, 2012 at 17:34 UTC |
Take a look at Net::FTP. It is my stock in trade and I use it all the time. Works great, lasts a long time.
Actually I prefer Net::SCP::Expect since I normally eschew clear text protocols.
Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
| [reply] |
|
thats what i tried... doesnt work for me?
| [reply] |
|
| [reply] |
Re: use ftp with perl? by eyepopslikeamosquito (Canon) on Dec 11, 2012 at 19:02 UTC |
| [reply] |
Re: use ftp with perl? by marto (Chancellor) on Dec 11, 2012 at 20:32 UTC |
| [reply] |
Re: use ftp with perl? by runrig (Abbot) on Dec 12, 2012 at 16:19 UTC |
Why do you think we can read your mind any better than they can? | [reply] |
Re: use ftp with perl? by bulk88 (Deacon) on Dec 13, 2012 at 04:46 UTC |
print `ftp --help`;
| [reply] [d/l] |