Forum Moderators: coopster & phranque

Message Too Old, No Replies

Using Net::FTP to upload files from a PC

         

clem_c_rock

7:34 pm on Sep 23, 2004 (gmt 0)

10+ Year Member



Hello,

I'm looking for a solution that could enable me to upload a file from a users desktop computer to a server by supplying the path of the script (ie. C:\text.txt).

Now I know this is easily accomplished using the

[INPUT TYPE="FILE" NAME="uploaded_file"] browse method in a webpage but I am looking for a way to do it w/out the file browse method.

I know this is a long shot.

Thanks,
Clem C

adni18

1:30 am on Sep 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



try going to start>run>ftp . That activates WinFTP. Is that what you're looking for?

clem_c_rock

1:33 am on Sep 24, 2004 (gmt 0)

10+ Year Member



This is actually for an online webpage where a user will be transfering specific files to specific places on the server and the file transfer has to be integrated w/in the site.

Thanks for your time,

Clem C

moltar

3:22 am on Sep 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WW clem_c_rock,

I am not sure I understand you correctly.

If you want to access file on the user's machine from a remote Perl script - then it's impossible.

If you want your users to run a perl script on their computer (without the browser) then you could do this with help of Net::FTP [search.cpan.org].

adni18

11:21 am on Sep 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If I undersstand you correctly, you wish to edit files on the server from a webpage, taking the information from the user's hard drive. Is this right?