Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

use ftp with perl?

by KarlaCluft (Initiate)
on Dec 11, 2012 at 17:22 UTC ( #1008347=perlquestion: print w/ replies, xml ) Need Help??
KarlaCluft has asked for the wisdom of the Perl Monks concerning the following question:

hi guys! id like to use ftp with perl how do i do that? if im tring to upload the "put" part does not work? thx

Comment on use ftp with perl?
Re: use ftp with perl?
by zentara (Archbishop) on Dec 11, 2012 at 17:29 UTC
      i did! the "put" part does not quite work..?
        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
Re: use ftp with perl?
by ~~David~~ (Hermit) 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?
    ~~David~~
      the "put" part does not quite work..?

        "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". ;-)
Re: use ftp with perl?
by blue_cowdawg (Monsignor) 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
      thats what i tried... doesnt work for me?
            doesnt work for me?

        Show us what you tried and what errors you got. I've been using the module for years without an issue.


        Peter L. Berghold -- Unix Professional
        Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
Re: use ftp with perl?
by eyepopslikeamosquito (Canon) on Dec 11, 2012 at 19:02 UTC
Re: use ftp with perl?
by marto (Chancellor) on Dec 11, 2012 at 20:32 UTC
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?
Re: use ftp with perl?
by bulk88 (Priest) on Dec 13, 2012 at 04:46 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1008347]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (13)
As of 2014-09-19 15:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (142 votes), past polls