rose has asked for the wisdom of the Perl Monks concerning the following question:

Monks,

Upload File

we use File::Copy:Recursive module to upload the directory from Client to Server. It will work if the Client is Windows or Server.

Upload Directory

Server to Server we can upload by using File::Copy:Recursive module.

If the client is Windows

But I am struggling to upload a directory from client(Windows) to Server.

Hope you understand my queries and guide me upload directory from Client(Windows) to Server.

Thank Monks!!
Rose

  • Comment on Problem in Upload directory if client is Windows

Replies are listed 'Best First'.
Re: Problem in Upload directory if client is Windows
by moritz (Cardinal) on Dec 01, 2009 at 17:17 UTC
    Somehow your description doesn't make much sense to me. File::Copy:Recursive only copies files locally, as far as I can tell - so where does the "Upload" come into play?

    Do you have shared directories (smb/nfs)? If not, how do you share the data between client and server?

Re: Problem in Upload directory if client is Windows
by CountZero (Bishop) on Dec 01, 2009 at 19:23 UTC
    To better understand your problem, it would help if you showed some relevant part(s) of your program and also how it does or doesn't work (error messages, server-log, ...).

    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